# Introduction > What Guild is, and the idea behind it. Guild is where a community lives and decides who gets what. You set the rules once, and Guild checks every member's wallets and social accounts against them and keeps their access up to date. ## What Guild is A guild is a home for your community on Guild. Members sign in, connect the wallets and accounts they want checked, and join. From then on, Guild works out which roles they qualify for and gives them what those roles unlock: Discord roles, Telegram groups, points, secrets, NFTs, gated pages and more. Projects use Guild to: - gate Discord servers, Telegram groups and pages to token holders, contributors or customers - run quests and campaigns that reward real onchain and social activity - give members a clear path from newcomer to core contributor - keep bots and farmers out with requirements that are hard to fake - understand who their members are across wallets and social accounts ## Roles are the keys Everything in a guild is built from three pieces: - **Requirements** decide who gets a role. Hold a token, follow an account on X, have a Discord role, make transactions on a chain, hold another role in the guild, and many more. - **Roles** group the people who meet a role's requirements. A role can ask for all of its requirements or any of them. - **Rewards** are what a role unlocks. When a member gets the role, they get its rewards. When they lose it, they lose them. Members gain and lose roles on their own as they meet or stop meeting the requirements. You don't add or remove anyone by hand. ## Spaces A guild's pages appear as spaces in the guild's sidebar, and the home page is the first one. A page can be open to everyone, or locked behind roles. A page can also be a feed, an announcements channel or a chat, so your members can talk inside the guild itself. ## Where to go next - [How Guild works](/docs/how-guild-works): accounts, joining and how access is checked - [Use cases](/docs/use-cases): what communities build with Guild - [Launch your guild](/docs/launch-your-guild): from an empty guild to your first members - [Joining a guild](/docs/members): for members, step by step - [Roles](/docs/roles), [Requirements](/docs/requirements) and [Rewards](/docs/rewards): the building blocks in detail - [Pages and spaces](/docs/spaces): pages, feeds, announcements and chat - [Agents](/docs/agents) and the [REST API](/docs/api): run your guild from code or an AI agent Source: https://new.guild.xyz/docs --- # How Guild works > Accounts, roles, requirements and how access is checked. Guild checks members against the rules you set and keeps their access current. This page explains the moving parts: accounts, joining, requirements, roles and rewards, and how access is checked and re-checked. ## Accounts and identities People sign in to Guild with a wallet, an email address or a social account, and can add a second step with an authenticator app or a passkey; see [Account security](/docs/account-security). One Guild account can then hold several connected wallets and accounts: wallets, X, Discord, Telegram, GitHub, Farcaster, email and others. Requirements are checked against the accounts a member has connected. A requirement to follow an account on X needs a connected X account; a token requirement needs a connected wallet that holds the token. Members manage their connected accounts on their account page, and each guild shows which accounts its requirements check. Connections belong to the member's Guild account, not to one guild. Connect a wallet once and every guild can check it. ## Joining A member joins a guild from its home page. Joining checks every role the guild offers and gives the member each role they already qualify for, with its rewards. Most guilds are open to join. Some are invite-only or gated, and then the guild page offers no plain **Join guild** button. ## Requirements, roles and rewards **Requirements** are the conditions. They cover onchain activity (hold a token or NFT, make transactions, call a contract, hold a balance without a break), social accounts (follow on X, be in a Discord server, hold a Discord role), activity on Guild (hold another role, have enough points) and more. See [Requirements](/docs/requirements) for every type. **Roles** are groups of people who meet a set of requirements. A role combines its requirements in one of these ways: - **All** of them must be met. - **Any one** of them is enough. - **Some**: at least a number you choose, for example any 2 of 5. You can also split a role's requirements into groups and combine the groups the same way, for example "hold the NFT, or (follow on X and be in the Discord)". Some requirement types can be set to **Should not satisfy**, to keep people who meet them out. **Rewards** are what a role unlocks: a Discord role, a Telegram group, points, a secret, an NFT, a form, or access to a page. See [Rewards](/docs/rewards). ### Example 1. Create a role called "Token holders". 2. Add a requirement: hold at least 500 of your token. 3. Add rewards: a "Holder" Discord role and 5 points. 4. A member with 500 tokens joins and gets the Discord role and the points. 5. If they later drop below 500 tokens, they lose the role and, by default, the Discord role with it. ## How access is checked Access is checked on demand. When a member opens a guild, Guild reads their current access to its roles, and the role cards show each requirement as met, not met or not checked yet. A member can press **Check access** to re-run the check for a role, or for every role at once, at any time. Guild also refreshes the data behind requirements in the background. A token sale, a new follower or a role earned elsewhere reaches Guild without anyone pressing a button, and access changes when the data does. When data can't be read for a while, for example while it is being refreshed, Guild keeps the roles a member already has instead of taking them away. It never grants a role on missing data. ## Gaining and losing roles When a member starts meeting a role's requirements, they get the role and its rewards. When they stop meeting them, they lose the role, and its rewards are taken back: a Discord role is removed, and access to a gated page or Telegram group ends. Some rewards let you choose what happens on loss. A Discord role reward has a **Keep role once earned** switch, and a points system can keep or deduct points when access is lost. See the reward pages for the details. When a member loses a role, they get a **Role removed** notification. It is sent only after the loss has held for a while, so a brief blip in the data doesn't notify anyone. Leaving a guild removes every role the member had in it, and their rewards. A kept Discord role is removed too. Source: https://new.guild.xyz/docs/how-guild-works --- # Use cases > What communities and projects use Guild for. Most guilds are built for one of four jobs: gating access, running quests, structuring a community into tiers, or keeping out fake accounts. Many guilds do several at once. ## Token gating Decide who gets in based on what they hold. Add requirements like "hold 100 of your token" or "own a Genesis NFT", and give the role a Discord role, a Telegram group or a gated page. Members get access as soon as they qualify and lose it when they sell or transfer. For example: - An NFT project gives holders a private Discord channel and early access to drops. - A DeFi protocol opens a Telegram group and a gated page to token holders and stakers. - A creator unlocks content and NFTs for collectors. You don't check wallets or keep spreadsheets. Guild refreshes onchain data in the background and updates access when it changes. See [Supported chains](/docs/chains) for where it works. ## Quests and campaigns Reward people for completing tasks. Combine onchain actions (make transactions, call a contract, hold a balance) with social tasks (repost or follow on X, join the Discord) in a [quest](/docs/guides/quests) that pays points, rank members on a leaderboard for prizes, and let the points unlock an NFT or a Discord role. Some quest ideas: - **Onboarding**: follow on X, join the Discord and use the app. Reward: 10 points, and a "Newcomer" Discord role from a role that needs 10 points. - **Launch**: repost and quote the launch post on X. Reward: 50 points and a place on a 30-day leaderboard with prizes for the top 10. - **DeFi**: swap on a DEX and hold a liquidity position. Reward: 100 points, and an NFT and a "DeFi user" Discord role from a role that needs them. Give each quest a start and end to run seasonal campaigns, and use roles that require a points balance to build tiers. Quests work well for launches and for driving specific actions across an ecosystem. ## Membership tiers and onboarding Give members a path from newcomer to top contributor. Start with roles that recognize different kinds of value: - **Newcomer**: follow on X and join the Discord. - **App user**: first app interaction and a minimum deposit. - **Power user**: 20 or more app interactions and a staked balance. - **Developer**: GitHub commits or a deployed contract. - **Content creator**: a minimum number of X followers. Then group them into a few tiers that require those roles, for example: - **Bronze**: the Newcomer role and 10 app interactions. - **Silver**: Bronze plus a first interaction more than six months ago and 50 interactions. - **Gold**: Silver plus 100 interactions and a liquidity position. Members see what they have, what's next, and the exact steps left. You manage a few tiers instead of a tangle of roles, and members move up or down as their activity changes. ## Sybil protection Keep bots and fake accounts out by combining requirements that are hard to fake together. - **Wallet history**: require a first transaction months ago, a minimum number of transactions, or a balance held without a break. - **Social proof**: require an X account created before a date or with a minimum follower count, a GitHub account of a certain age, or a Farcaster profile. - **Proof of personhood**: require a World ID profile, or an attestation through EAS. - **Scores**: require a minimum score from a scoring provider. How many requirements you add, and how strict they are, is up to you. See [Requirements](/docs/requirements) for every type. Source: https://new.guild.xyz/docs/use-cases --- # Roles for NFT holders > Give NFT holders roles by collection, number held or token ID, sum several wallets, cover staked NFTs, and have Guild take access away when an NFT is sold or moved. To give NFT holders roles with Guild, make one role per kind of holder and give each an **NFT Balance** requirement: at least 1 from your collection for a holder role, a higher balance for each tier, or a list of token IDs for owners of specific pieces. Each role unlocks a Discord role, a Telegram group or a gated page. Guild checks every wallet a member has connected, refreshes holdings in the background, and takes the role and its rewards away when someone sells or moves the NFT. NFT requirements work on 50 EVM mainnets and are part of the free plan. For step-by-step setup, see [Token-gate a Discord server](/docs/guides/token-gate-discord) and [Token-gate a Telegram group](/docs/guides/token-gate-telegram). ## The building blocks - **Holder role**: **NFT Balance**, your collection, at least 1. Leave the token ID empty so any NFT from the collection counts. - **Tiers by number held**: one role per tier, each with its own balance, for example at least 1, at least 5 and at least 20. Tiers stack: a member with 20 NFTs holds all three. For tiers that don't overlap, add a second **NFT Balance** requirement to the lower tier with **Less than** the next threshold, and set **Members should meet** to **All**. - **Specific pieces**: enter one **Token ID**, or switch to **Multiple Token IDs** and paste a list, such as the first 100 IDs of a genesis drop. - **Several collections**: each requirement checks one contract on one chain. Add one per collection and combine them with **Any one** (hold any of them), **All** (hold one of each) or **Some** (for example 2 of 3). - **Long-term holders**: **Held continuously for** checks that a wallet never dropped below the balance for a number of days, and **Held at a past block** checks a snapshot. Both work on Ethereum and Base only. See [Holding history](/docs/requirements/holding-history). Guild checks collections and token IDs, not traits or other metadata. If you want a role for a trait, look up which token IDs carry it and paste them as **Multiple Token IDs**. ## Multiple wallets One Guild account can hold several connected wallets, and Guild checks all of them. By default one wallet must hold enough on its own. Tick **Sum across connected wallets** on an NFT requirement to add up all of a member's wallets, which matters for tiers: a collector with 3 NFTs in one wallet and 2 in another reaches a "5 or more" tier only with the sum. ## Keeping roles correct after sales and transfers Guild refreshes onchain data in the background, so a sale or transfer reaches Guild without anyone pressing a button. When a member's balance falls below a requirement, they lose the role, and what can be taken back goes with it: the Discord role is removed, the bot removes them from the Telegram group and gated pages close. A member who buys in can press **Check access** to be checked right away. Decide for each reward what should happen on a sale: - For access, leave **Keep role once earned** off on the Discord reward, so the role follows the NFT. - For recognition that should outlast a sale, such as "Mint day holder", switch **Keep role once earned** on, or give an [NFT reward](/docs/rewards/nft) members mint for themselves; a minted NFT stays in their wallet. - Points are kept by default when a role is lost. Each points system can deduct them instead. See [Points and leaderboards](/docs/guides/points-and-leaderboards). If Guild temporarily can't read a member's data, it keeps their roles rather than taking them away. ## Staked and delegated NFTs An **NFT Balance** requirement counts what a wallet holds. If your staking contract takes custody of the NFT, the wallet no longer holds it and the requirement isn't met. If the staking contract has a read function that answers per wallet, such as `balanceOf(address)`, a [Contract query](/docs/requirements/contract-query) can check it with `USER_ADDRESS` as the input. Put the two in one role with **Any one**, so holding or staking is enough. Guild has no built-in support for delegation registries. A member who keeps NFTs in a separate wallet connects that wallet to their Guild account instead. ## Example: a collection on Base | Role | Who gets it | Unlocks | |---|---|---| | Holder | **Any one** of: **NFT Balance**, your collection on Base, at least 1; **Contract query** `balanceOf(address)` on your staking contract, output greater than 0 | "Holder" Discord role, the holders' Telegram group | | Collector | **NFT Balance**, same collection, at least 5, **Sum across connected wallets** ticked | "Collector" Discord role, a gated "Collectors" page | | Genesis | **NFT Balance**, **Multiple Token IDs** 1 to 100, at least 1 | "Genesis" Discord role, a **Secret** with the link to a private call | Staking sits inside the Holder role, not a second role, so one Guild role owns the "Holder" Discord role. Put the gated page behind the Collector role under **Who can see it**, with **Role holders**. See [Gate pages, forms and secret content](/docs/guides/gate-content-and-forms). ## Example: rewarding loyalty on Ethereum - **OG holder**: **Held continuously for**, **ERC721**, your collection on Ethereum, 365 days, at least 1. Unlocks an "OG" Discord role with **Keep role once earned** off, so it stays meaningful. - **Mint day**: **Held at a past block**, the block your mint closed, at least 1. Unlocks a soulbound NFT badge (**Non-transferable**), which stays with the member after a sale. ## FAQ ### Can Guild gate by NFT traits? No. Guild checks the collection and token IDs, not metadata. Use **Multiple Token IDs** with the IDs that have the trait. ### Do members lose their Discord role when they sell? Yes, once Guild's refreshed data shows the drop, unless **Keep role once earned** is on for that reward. ### Does Guild support Solana or other non-EVM NFTs? No. Onchain requirements work on EVM chains. See [Supported chains](/docs/chains). ### Can I hide a tier from people who don't hold it? Yes. Set the role's **Who can see it** to **Secret** or **Hidden** (Starter plan and above) or **Self-reveal** (Pro and above). See [Plans](/docs/plans). Source: https://new.guild.xyz/docs/use-cases/nft-holder-roles --- # DAO and contributor tiers > Structure a DAO or community into newcomer, contributor and core tiers with token, Discord, GitHub, POAP, attestation, points and form requirements, each tier unlocking its own channels and votes. To structure a DAO or community into tiers with Guild, such as newcomer, contributor and core, make each tier a role. The lowest tier asks for something easy, like being in your Discord server or holding your token. Each higher tier requires the tier below with a **Have a role** requirement, plus signals of real contribution: Discord tenure, GitHub commits, POAPs, attestations, points, an approved application or a place on a list you keep. Each tier unlocks its own Discord role, Telegram group, gated pages and voting weight, and members move up or down as they meet the requirements or stop meeting them. ## Pick signals for each tier Put cheap signals at the bottom and costly ones at the top: | Signal | Requirement | Good for | |---|---|---| | Holds the governance token | **Token balance**, or **Held continuously for** on Ethereum and Base | Any tier; a long holding period for senior tiers | | Is in the Discord, or has been for a while | **Discord member**: **Server member** or **Server member since** a date | Newcomer, contributor | | Has a Discord role your moderators give by hand | **Discord member**: **Role** | Recognizing work you already track in Discord | | Writes code | GitHub **Commit count** or **Account age** | Contributor | | Showed up | **Attend POAP event**, one requirement per event | Contributor | | Was vouched for | **Be attested by** an EAS attester you trust | Contributor, core | | Earned enough | **Points**, with **Greater than or equal to** or **Range** | Any tier | | Applied and was approved | **Submitted a form** | Core | | Was picked by the team | **Allowlist** | Core | When you require a Discord role, pick one your moderators assign, not one a Guild reward gives out, or the tier depends on itself. See [Requirements](/docs/requirements) for every type. ## Chain the tiers Give every tier above the first a **Have a role** requirement (under **Guild**) for the tier below. A contributor is then always a newcomer too, and a member who loses the lower tier loses the higher one with it. Inside a tier, decide how strict to be with **Members should meet**: - **All** when every signal is required. - **Group** when there are several ways to contribute: put **Have a role** in one group, the alternatives (commits, POAPs, points) in another set to any, and require both groups. A designer without GitHub history can still qualify. - **Some**, such as 2 of 4, counts every requirement in the role, **Have a role** included. Use it in a role without one, for example a separate "Active" role that the tier requires. Points tie it together: give them with milestone roles, grant them by hand with **Adjust points** for work Guild can't see, and let tiers require a balance. See [Points and leaderboards](/docs/guides/points-and-leaderboards). ## Add manual review where it matters For the top tier, keep a human in the loop: - **Forms**: a role unlocks an "Apply to Core" form with **Automatic approval** off, and the core role requires **Submitted a form** for it. Only approved submissions count. Forms are on the Pro plan and above. - **Allowlist**: upload the wallets or email addresses you picked, and add people later with **Add new addresses or IDs**. Free on every plan. See [Manage an allowlist](/docs/guides/allowlists). - **Points**: an admin's **Adjust points** grant can push a member over a points requirement, and is recorded in the **Audit log**. ## Give each tier its own space - **Discord and Telegram**: one Discord role per tier and a private Telegram group for the upper tiers. See [Token-gate a Discord server](/docs/guides/token-gate-discord). - **Pages**: a page with **Who can see it** set to **Role holders** for each tier, as a feed, announcements or chat. See [Gate pages, forms and secret content](/docs/guides/gate-content-and-forms). - **Voting rights**: give tiers votes, for example 1 for contributors and 5 for core, and let core members create proposals. A member's power is the sum of their roles' votes. See [Voting rights](/docs/rewards/voting). ## Example: three tiers **Newcomer** - Who gets it: **All** of **Discord member**, your server, **Server member**; and **Token balance**, your token, at least 1. - Unlocks: a "Newcomer" Discord role and 10 points. **Contributor** - Who gets it: two groups, both required. The first is **Have a role**, Newcomer. The second is **Any one** of: **Server member since** before a date three months back; GitHub **Commit count** at least 20; **Attend POAP event** for your last community call; **Points** at least 100. - Unlocks: a "Contributor" Discord role, a "Contributors" feed open to **Role holders**, the "Apply to Core" form, and **Voting rights** with 1 vote. **Core** - Who gets it: **Have a role**, Contributor; and **Submitted a form**, "Apply to Core", reviewed by hand. - Unlocks: a "Core" Discord role, a private Telegram group, a "Core" chat page, and **Voting rights** with 5 votes and **Members with this role can create proposals** on. **Server member since** compares against a fixed date, so move it forward from time to time. Adding a requirement to a tier people already hold removes it from anyone who doesn't meet the new one, so check **Why members miss it** first. ## FAQ ### Can a member skip a tier? Not if each tier requires the one below with **Have a role**. To allow a shortcut, put **Have a role** in a group with an alternative, such as an allowlist of people you fast-track, and set the group to **Any one**. ### What happens when a contributor goes inactive? Selling the token or leaving the Discord server removes the tier and every tier above it. Tenure, commits and POAPs don't decay. For activity that should expire, use an **Onchain activity** requirement with a **Relative period**, or deduct points with **Adjust points**. ### Can I hide the core tier from everyone else? Yes. Set the role's **Who can see it** to **Secret** or **Hidden** on the Starter plan and above, or **Self-reveal** on Pro and above. ### Which parts need a paid plan? Roles, every requirement used above except **Submitted a form**, Discord and Telegram rewards, points, pages, voting rights and allowlists work on the free plan. Forms and **Submitted a form** need Pro. See [Plans](/docs/plans). Source: https://new.guild.xyz/docs/use-cases/dao-contributor-tiers --- # Developer communities > Gate and reward developers with GitHub commit count, account age and stars, contract deployments, and hackathon or grant allowlists and forms, with Discord channels and Telegram groups. To gate or reward a developer community with Guild, make roles whose requirements check what builders have done: GitHub requirements for commit history, account age or starring your repository, an **Onchain activity** requirement for wallets that deployed contracts, and allowlists, POAPs, attestations or forms for hackathon and grant participants. Each role unlocks a Discord role for your developer channels, a private Telegram group, a gated page or points. Members connect their GitHub account and wallets to Guild, and Guild keeps access in step with the requirements. For setup steps, see [Token-gate a Discord server](/docs/guides/token-gate-discord), [Token-gate a Telegram group](/docs/guides/token-gate-telegram) and [Manage an allowlist](/docs/guides/allowlists). ## What Guild can check about developers **GitHub**, from the member's connected GitHub account. See [GitHub requirements](/docs/requirements/github). - **Commit count**: how many commits the account has authored, as GitHub's commit search finds them. That is mostly public work; private repositories usually don't count. It counts across GitHub, not in one repository. - **Account age**: the **Registration Date** before or after a date you pick. Useful against new throwaway accounts. - **Star a repository**: the member starred the exact repository you pasted. Stars on a fork don't count. Guild doesn't check pull requests, issues, organization membership, the number of repositories or contributions to a specific repository. **Onchain**, from the member's connected wallets. See [Wallet activity](/docs/requirements/wallet-activity). - **Onchain activity** with **Contract deployment**: how many contracts a wallet deployed on a chain, in a fixed date range or a **Relative period** such as the last 90 days. The deployer wallet must be connected to the member's Guild account. - **Onchain activity** with **Contract call**: how often a wallet called a method of your contract, such as your registry. - **Contract query**: any read function of your contract called with the member's address, such as `isRegistered(address)`. See [Contract query](/docs/requirements/contract-query). Wallet activity works on fewer chains than token balances; the form offers only the ones it supports. See [Supported chains](/docs/chains). **Other signals**: **Verify an email with domain** for a company or university domain, **Attend POAP event** for meetups and hackathons, and **Be attested by** for EAS attestations your program issues. ## Hackathon and grant participants - **Allowlist**: upload the registration list as wallet or email addresses, one per line. Add late registrations with **Add new addresses or IDs**. Free on every plan. - **POAP or attestation**: if the event gave out a POAP or your program attests winners on EAS, require that instead of keeping a list. - **Applications**: a public role unlocks an application form with **Automatic approval** off, and a "Grantee" role requires **Submitted a form** for it. Only approved submissions count. Forms are on the Pro plan and above. See [Forms](/docs/rewards/forms). - **Limited seats**: under **How many get it**, **Only the first members** closes a role once it is full, for example the first 200 builders. ## Where developers get access - **Discord**: a Discord role per developer role, used to open your developer channels. Leave **Keep role once earned** off for access roles, and switch it on for achievements such as "Hackathon winner". See [Discord roles](/docs/rewards/discord). - **Telegram**: a private Telegram group for builders or grantees. Guild's bot lets qualified members in and removes those who lose the role. Keep the group private, so the link alone doesn't let anyone in. - **Gated pages**: a page set to **Role holders** under **Who can see it**, as announcements for grantees or a chat for builders. - **Secrets**: a link or code everyone with the role sees, such as a submission form or a credits code shared by all. A secret shows the same text to everyone, so it can't hand out unique API keys. - **NFT credentials**: an NFT reward set to **Non-transferable** as a badge for finishing a hackathon. It stays in the member's wallet. - **Points**: points for starring the repository or shipping, with a leaderboard. See [Points and leaderboards](/docs/guides/points-and-leaderboards). ## Example: a protocol's developer community **Builder** - Who gets it: two groups, with **Any one** of them enough. The first is GitHub **Commit count** at least 50 and **Account age** registered before 1 January 2025, both required. The second is **Onchain activity**, **Contract deployment** on Base, at least 1. - Unlocks: a "Builder" Discord role for your #dev channels and a private "Builders" Telegram group. **Hackathon 2026** - Who gets it: **Allowlist** with the wallets and email addresses from registration. - Unlocks: a "Hacker" Discord role, a **Secret** with the submission link, and a non-transferable NFT badge. **Grantee** - Who gets it: **Submitted a form**, your grant application, approved by hand. - Unlocks: a "Grantees" announcements page and a grantee Telegram group. ## When the built-in checks aren't enough If you track contributions yourself, for example merged pull requests per wallet, a **Custom API call** requirement asks your own API about each connected wallet and checks a field in the answer. It is on the Pro plan and above, and the request should be treated as public. See [Custom API call](/docs/requirements/custom-api-call). ## FAQ ### Can Guild check contributions to my repository? Not directly. **Commit count** counts commits across GitHub, and **Star a repository** checks a star. For contributions to one repository, use an allowlist of contributors or a **Custom API call** to your own data. ### Can I give each developer their own API key? Not with a secret, which shows the same text to every role holder. Hand out unique keys another way, for example to members you export from **Members**. ### How do I keep bot accounts out of a developer role? Require a GitHub **Account age** and a minimum **Commit count**, or an old wallet. A GitHub account can be linked to only one Guild account at a time. See [Keep bots and sybils out](/docs/guides/keep-out-bots). ### What needs a paid plan? GitHub, onchain, allowlist, POAP, attestation and email requirements, Discord and Telegram rewards, secrets, NFTs and points work on the free plan. Forms, **Submitted a form** and **Custom API call** need Pro or above. See [Plans](/docs/plans). Source: https://new.guild.xyz/docs/use-cases/developer-communities --- # Launch your guild > From an empty guild to your first members, step by step. This guide takes you from no guild to a guild people can join: create it, set up roles with requirements and rewards, organize your pages, then share the link. ## 1. Create the guild Go to [/create](/create). The setup has four steps: 1. **Welcome**: sign in with Google or an email address. Guild uses it as the creator contact for setup and important updates. 2. **Create guild**: enter a **Guild name**, upload a logo and, if you like, a **Description**. The name and the logo are required. You can change all of them later. 3. **Goals**: pick what you want to achieve. This helps Guild tailor your experience. 4. **Choose plan**: start a paid plan with a 7-day free trial, or press **Continue to guild** to keep using the free plan and choose later. See [Plans](/docs/plans). Your new guild starts with a **Home** page and a **Member** role that everyone who joins gets. ## 2. Open the admin panel On your guild, choose **Manage guild** in the guild's sidebar. The admin panel is where you build everything below. See [The admin panel](/docs/admin-panel). ## 3. Brand the guild Open **Guild details** to set: - the name, logo and cover image - the description and the guild's URL, which becomes your permanent link - links to your social accounts, shown in the guild's header - the surface and accent colors - other admins who help you run the guild Changes save together from the bar at the bottom of the page. ## 4. Set up roles Open **Roles**. Start with the default **Member** role, then add more with **New role**. For each role: 1. **Unlocks**: add the rewards members get, such as a Discord role, a Telegram group, points or access to a page. See [Rewards](/docs/rewards). 2. **Who gets it**: add requirements with **Add requirement**, then choose whether members need all of them or only some. See [Requirements](/docs/requirements). 3. Give the role a name, an image and a description, and press **Save**. A role with no requirement other than the default is open: everyone who joins gets it. Your first requirement replaces that default. > [!TIP] > Most guilds start with two to five roles on the home page, such as "Follow us on X" or "Join the Discord", then add tiers, quests and specialist roles on their own pages as they grow. For the details, see [Roles](/docs/roles). ## 5. Connect your platforms Discord roles and Telegram groups need Guild connected to your server or group. You set that up when you add a Discord or Telegram reward to a role. Connected platforms are then listed under **Connections**, and the **Discord** and **Telegram** modules show your servers, groups and their rewards. See [Discord rewards](/docs/rewards/discord) and [Telegram rewards](/docs/rewards/telegram). ## 6. Organize pages and spaces Open **Spaces & roles** and use the **Space** menu to add pages with **New space** and put them in order by dragging them in the sidebar's **Spaces** list. **Space settings** chooses who can see each one. Use pages for campaigns, onboarding or groups such as developers, and keep the home page simple, because it is what visitors see first. A page can also be a feed, an announcements channel or a chat. See [Pages and spaces](/docs/spaces). ## 7. Test it as a member Choose **View as member** in the admin sidebar to see the guild as your members do. Check that each role reads clearly, that its requirements make sense, and that the rewards are the ones you meant. ## 8. Share it Your guild lives at `guild.xyz/` followed by its URL name. Share that link on your social channels and in your Discord or Telegram. Each role also has a **Copy link** action under **Manage** in its inspector, to point people at one role. When your guild is complete and publicly announced, you can [get it verified](/docs/verification) so it is listed in the explorer. Source: https://new.guild.xyz/docs/launch-your-guild --- # Joining a guild > For members: connect accounts, meet requirements, join. This page is for members. It explains how to join a guild, read what each role asks for, fix what's missing, and leave when you want to. ## Sign in Open the guild and choose **Sign in**, or **Sign in to join** where the guild is open to join. You can sign in with a wallet, an email address or a social account. If you're new to Guild, signing in creates your account. Signed out, a guild shows what its roles unlock and what they ask for, but not whether you meet it. Signing in is the only step until then. If you turned on two-factor sign-in, Guild asks for your authenticator app, passkey or a recovery code after you sign in. See [Account security](/docs/account-security) to set it up, see where you're signed in and sign out other devices. ## Join the guild Press **Join guild**. Guild then checks every role in the guild and gives you the ones you already qualify for, with their rewards. Some guilds are invite-only or gated. They show no **Join guild** button. ## Connect your accounts Requirements are checked against the wallets and accounts you connect to your Guild account. A role that asks you to follow an account on X needs your X account connected; a token requirement needs the wallet that holds the token. You can connect accounts in two places: - straight from a requirement, with its fix action, such as **Connect X** or **Connect wallet** - on your account page, under **Connected accounts** Each guild also lists the **Accounts this guild checks**, so you can see at a glance what's missing. You connect an account once, and every guild can check it. ## Read a role card A role card reads top to bottom: 1. The role's name and your status. A role you hold says **You have this**. 2. **Unlocks**: what the role gives you, such as spaces, Discord roles, Telegram groups, points and secrets. 3. The role's description. 4. The requirements, each with its status: **Met**, **Not met**, **Not checked yet** or **Checking**. A heading tells you how many you need: **All of these**, **Any of these** or **Any 2 of these**. 5. A footer with your next step, for example "1 step left. Next: Connect X." and one button. ### Fix actions An unmet requirement often has a button that fixes it: **Connect X**, **Connect wallet**, **Join the Discord**, **Follow @name**, **Subscribe on YouTube**, **Visit link** or **Fill out the form**. Do what it asks, then check access again. If an account was connected but its connection has expired, the button asks you to reconnect it instead, for example **Reconnect X**. ## Check access Guild checks your access when you open a guild, and it refreshes the data behind requirements in the background. When you've just done something, such as bought a token or followed an account, press **Check access** on the role, or **Check all** at the top of a space to check every role in it at once. When you meet everything a role asks, the check gives you the role and its rewards. ### Why a requirement says "Not checked yet" A requirement shows **Not checked yet** when Guild doesn't have an answer for it yet. Common reasons: - The data is still being fetched. Wait a moment and press **Check access**. - The last check failed for a reason other than a missing account. Try again in a moment. - You haven't joined the guild yet. Members can check their access. If a requirement stays unchecked, reconnect the account it uses. For example, if you already meet a Discord requirement, reconnecting Discord refreshes its data. ## Losing a role When you stop meeting a role's requirements, you lose the role and, usually, its rewards: a Discord role is removed and a gated page locks again. You get a **Role removed** notification once the change has held for a short while; see [Notifications](/docs/notifications). If you meet the requirements again, you get the role back the next time your access is checked. ## Leave a guild Choose **Leave guild** at the bottom of the guild's access panel and confirm. Leaving removes every role you had in the guild and what those roles gave you. You can join again later. Source: https://new.guild.xyz/docs/members --- # Your profile > Your handle, appearance, showcase, profile level and privacy on Guild. This page is for members. It explains your Guild profile: how people find you, what they see, how to make it yours, and what stays private. ## Your handle is your address Your **@handle** is how people identify you on Guild. It is in your profile address (`guild.xyz/profile/yourhandle`), on your hover card and in chat. - A **claimed handle** is one you pick yourself, 3 to 20 letters, numbers or underscores. Claiming one needs Guild Plus. It is yours while you subscribe, and held for two years after Plus ends. - Without one, your **X handle** is used, if you connected X and haven't hidden it. - Without either, your profile address is your user id. Onchain names such as ENS names and Basenames are never used as an address. ## Make it yours Open your profile and press **Edit profile**. The page and your hover card update as you type, and a chat preview shows how you look in a space. - **Name, bio, pronouns and location.** Free members can change their display name once every 30 days. Plus has no limit. - **Picture and banner.** Upload a PNG, JPEG, WebP or GIF. Animated pictures, animated banners and gradient banners are part of Plus. - **Theme colour.** It tints your card and, with Plus, colours your name in chat. Names are always kept readable in both light and dark themes. - **Avatar frame and profile effect.** A frame wraps your picture, and an effect plays once when someone opens your profile. - **Links.** Up to six. Links to accounts you've connected carry a verified mark. - **Onchain name.** Optional. Pick an ENS name or Basename that resolves to one of your wallets and it shows as a small verified chip. It is only a label. Guild checks it again about once a week through its own nodes; if the name stops pointing at one of your wallets, the chip is removed. With a name linked you can also **use the picture set on the name** as your avatar: it is copied once when you save, from an image link, IPFS or an NFT that one of your wallets holds on Ethereum or Base. ## Frames and effects Some are free for everyone. Others come from Plus, from an achievement, from your [profile level](/docs/profile-levels), or from a guild that gave you one as a reward. A locked item shows what unlocks it. Plus unlocks the Plus set, and Annual unlocks the legendary set. Annual also gets each new item 4 weeks early, and Monthly Plus gets the legendary set 6 months after its release. ## Showcase Pick the roles, numbered roles, awards and guilds you're proudest of. Free profiles show 3, Plus 6 and Annual 9. Reaching profile level 10 and profile level 25 each adds one more, up to 9. ## Guilds, roles and numbers Your profile lists your guilds and the roles you hold in them, with your number on numbered roles. Boosting a guild and being a founding member of a pre-registered guild show next to it. Visitors see the guilds you choose to show. You can hide any guild. ## Profile level Your **profile level** rises as you earn **renown** by taking part in verified guilds you don't run: joining them, holding their public roles, showing up and voting, plus every active year on Guild. It never goes down, and nothing you can buy changes it. It unlocks frames, effects and extra showcase spots. Your profile shows it in a **Profile level** section, and you choose who sees it. See [Profile levels](/docs/profile-levels). ## Achievements and points Achievements unlock as you use Guild, such as joining your first guild or holding a numbered role. Several unlock their own frames or effects. Your points balances and ranks appear beside them. ## Activity and mutual guilds Activity lists the guilds you joined, roles you earned, posts you made where the viewer can read them, and achievements. You can turn it off. When you visit someone else's profile, **Mutual guilds** shows what you have in common. ## Privacy - **Private profile.** Strangers see only your name, picture, handle, frame and badges. Members of a guild you share see the rest. - **Connected accounts.** Each account is **Public**, **Shared guilds** (only people in a guild with you) or **Hidden**. - **Guild admins always see your connected accounts** in the guilds they run, whatever you chose. It lets them tell real members from copies. - **Full wallet addresses** are shown only to you and those admins. - **Profile level.** By default it follows your profile's privacy. **Show my profile level** can turn it on or off. See [who sees it](/docs/profile-levels#who-sees-it). ## Badges - **Verified person** is granted by a manual review by Guild staff. It lasts a year. - **Profile level** is your level mark and number. It shows only where your full profile shows, and only if you haven't hidden it. - **Plus** and **Annual** show you support Guild. - **Booster** and **Founding member** show in the guild you boosted or pre-registered for. Source: https://new.guild.xyz/docs/profiles --- # Profile levels > How you earn renown, what each profile level unlocks and who sees it. This page is for members. Your **profile level** shows how much you've taken part in guilds on Guild. It rises as you earn **renown**, it never goes down, and nothing you can buy changes it. ## How it works Every member starts at profile level 1, with 0 renown. Each profile level costs a little more than the one before: 60 renown takes you from profile level 1 to 2, 70 more to 3, 80 more to 4, and so on, 10 more each time. Your profile level appears as a **level mark** beside your name: a small pixel building with your number next to it. The building grows every 10 profile levels, and each of these steps is a **stage**. | Profile level | Stage | Renown in total | |---|---|---| | 1 | Stone | 0 | | 5 | Stone | 300 | | 10 | Post | 900 | | 20 | Wall | 2,850 | | 30 | Gate | 5,800 | | 40 | Tower | 9,750 | | 50 | Hall | 14,700 | | 60 | Keep | 20,650 | | 70 | Bastion | 27,600 | | 80 | Citadel | 35,550 | | 90 | Spire | 44,500 | | 100 | Spire, with a pennant | 54,450 | From profile level 100 the Spire flies one pennant for every hundred, up to three. Profile level 100 takes years of showing up. Nothing you can buy shortens it. ## Guilds that count Renown from guilds comes only from **guilds that count toward profile levels**, counting guilds for short. A guild counts for you when all of these are true at the time the renown is earned: - Guild staff have [verified](/docs/verification) it. - You don't own it and aren't one of its admins. - It isn't hidden on your profile. - Guild staff haven't excluded it. Renown for joining a guild and for its roles also needs you to have been a member for at least 7 days, and to still be a member when it counts. ## Ways to earn renown | What you do | Renown | Limits | |---|---|---| | Active years on Guild | 100 a year | Once for each full year since your account started, and only for a year in which you joined a counting guild or earned other renown | | Join a counting guild and take part in it | 50 | Once per guild, ever | | Hold public roles in a counting guild | 20 a role | Up to 5 roles, so 100, per guild. A role counts once you've held it for 7 days | | Show up this week | 30 | Once a week | | Vote on a proposal | 10 | Up to 3 a week, and 1 per guild a week | | Reach a milestone | 50 to 150 | Once each, 450 in total | | Own a verified guild | 100 | Up to 3 guilds, so 300 | **Taking part.** Joining a guild pays nothing by itself. It counts once you also have a message that counts toward **Show up this week** there, a vote that counts there, or a role that counts there. Until then your profile level panel lists the guild as "Joined · take part to count". Only you see that line. **Roles that count.** A role counts when it is public, so roles shown only to admins and hidden roles never count. It must also have a real requirement: a role anyone gets just by joining doesn't count. Roles whose requirements include boosting, the Verified person badge, points, invites, a form or a profile level don't count either, and neither does a guild's Booster role. Each guild pays for your first to fifth counted role once each. Swapping one role for another, or losing a role and getting it back, pays nothing more. **Show up this week.** You earn it with one message, a post or a reply, in a counting guild, on a page that isn't locked behind roles. The message counts once it is three days old, as long as it is still there, nobody has an open report on it, and you weren't restricted in that guild that week. A vote that counts also earns it. How many messages you write, how long they are and the reactions they get don't matter. **Votes.** A vote earns 10 renown in the week its proposal closes. The proposal must be in a counting guild, must have been open for at least 48 hours, must not be cancelled, must not be your own, and must have at least 10 voters when it closes. Proposals that only hidden or admin-only roles can vote on don't count. Which choice you picked is never read, and changing your vote pays nothing. **Milestones.** | Milestone | When | Renown | |---|---|---| | Profile complete | Your profile has a display name, a picture and a bio | 50 | | First role | Your first counted role | 50 | | Guild regular | 10 counting guilds you joined and took part in | 100 | | Role keeper | 25 counted roles | 100 | | Guild pillar | 25 counting guilds you joined and took part in | 150 | **Owning a verified guild.** You earn 100 renown when you own a verified guild that isn't hidden on your profile or excluded by staff. Admins never earn it. Each guild pays it only once, ever, so passing ownership on pays nothing more. **Staff adjustments.** Guild staff can correct renown by hand. The change shows in your history as "Adjusted by Guild staff". ## The weekly limit New guilds and roles share a limit of **300 renown a week**. Weeks reset on Monday at 00:00 UTC. Renown over the limit isn't lost: it counts the next week, as long as you're still a member. So the most you can earn in a week is 360 renown: 30 for showing up, 30 for votes, and 300 for new guilds and roles. Active years, milestones and owning verified guilds come on top, outside the limit. Milestones and owning verified guilds add at most 750 renown in a lifetime. ## What never counts - Guild Plus, in any form, and pre-registration for a guild. - Boosts, given or received, and the Booster role. - The Verified person badge. - ENS names and Basenames. - Points, ranks and leaderboards. - Achievements. - Invites, forms, and being a founding member. - Connected accounts. - Reactions, profile views, viewers and time online. - Guilds you own or run, except the award for owning a verified guild. Roles that need any of these don't count either. Guild Plus doesn't change your profile level. ## Your history When profile levels arrived, your history on Guild counted too: - Guilds you joined and took part in, and the roles you held there, count up to **1,500 renown** in total. Older guilds come first. - Weeks you showed up and votes you cast count from up to 52 weeks before. - Active years count from the day your account started, for each year you were active in it. Roles from your history still wait 7 days after your profile level is first worked out. Anything you did after profile levels arrived counts normally, under the weekly limit. The first time your profile level is ready, **Meet your profile level** shows where your renown came from. Until it is ready, no profile level shows anywhere. ## What it unlocks | Profile level | Unlocks | |---|---| | 1 | The Stone level mark | | 5 | The **Cornerstone** avatar frame | | 10 | The Post stage, the **Signal fire** profile effect and one more showcase spot | | 20 | The Wall stage and the **Gatehouse** avatar frame | | 25 | One more showcase spot | | 30 | The Gate stage and the **Torchlight** profile effect | | 40 | The Tower stage and the **Watchtower** avatar frame | | 50 | The Hall stage, the animated **Great hall** avatar frame and an accent ring on your level mark | | 60 to 90 | A new stage every 10 profile levels: Keep, Bastion, Citadel and Spire | The extra showcase spots stop at 9: | | Free | Plus | Annual | |---|---|---|---| | Below profile level 10 | 3 | 6 | 9 | | Profile level 10 | 4 | 7 | 9 | | Profile level 25 | 5 | 8 | 9 | Items from your profile level and items from Guild Plus are separate. Plus never unlocks a profile level item, and a high profile level never unlocks a Plus item. If Plus ends, your profile level and its items stay. ## Reaching a new profile level When you reach a new profile level, a short message appears with a link to see what unlocked. From there you can put on a new frame or effect straight away. You also get a **Level up** notification in your inbox. Profile levels never send e-mail or Telegram messages. Your profile has a **Profile level** section. Others see your level mark and stage there. You also see how much renown the next profile level needs, a **This week** card, and up to three next goals. The **Profile level** section of your account page adds your full history: every award, what earned it and when. The **This week** card shows what you've earned since Monday, which roles and guilds count soon and on which day, and resets every Monday. There are no streaks to keep up. ## Who sees it In **Edit profile, Privacy**, **Show my profile level** has three settings: - **Follow profile privacy**, the default. With a public profile, your profile level shows wherever your full profile does. With a private profile, it is hidden. - **On.** It shows wherever your full profile does, even if your profile is private. - **Off.** It is hidden. Your level mark shows on your profile, your hover card and beside your name in chat. In chat it shows only if your profile is public and your profile level isn't hidden. When your profile level is hidden: - other members and visitors don't see it, but Guild staff can; - the frames and effects it unlocks don't show to others, and others see only your base showcase spots; - roles that need a profile level see it as hidden, so you won't meet them. Changes can take up to a minute to show everywhere. **Hiding a guild** stops it from earning you new renown, but it doesn't remove renown it already earned. To keep that out of view, set **Show my profile level** to **Off**. Profile levels are never shown next to votes or to moderators, and there is no profile level leaderboard. ## It never goes down Your profile level only rises. Leaving a guild, losing a role or hiding a guild stops new renown, but keeps what you earned. The only exception is a correction by Guild staff. ## For guild admins **Require a profile level.** Add the **Profile level** requirement from the **Guild** group to any role and set **Lowest profile level**. A requirement can ask for a profile level of at least a number, never at most one, so it can't be used to find out a hidden profile level. Members who hide their profile level don't meet it. A profile level isn't proof of a real person. Add the [Verified person](/docs/verified-person) requirement for that. **Reward a profile level.** Give members of a role gated on a profile level an avatar frame or effect made for your guild, with a [profile item](/docs/rewards/profile-item) reward. Guilds can't give renown. **Make your guild count.** Only verified guilds count toward profile levels. See [Get verified](/docs/verification). Source: https://new.guild.xyz/docs/profile-levels --- # Account security > Two-factor sign-in, passkeys, recovery codes and where you're signed in. Your account's security settings have two parts: **Two-factor sign-in**, a second step after you sign in, and **Where you're signed in**, every device that is signed in to your account. To open them, choose **Security** in your account menu, or go to `guild.xyz/account#security`. ## Two-factor sign-in Two-factor sign-in adds a second step, so a stolen wallet or inbox isn't enough to get into your account. You can use either way, or both: - **Authenticator app**: a 6-digit code from an app such as 1Password or Google Authenticator. - **Passkeys**: your fingerprint, face or screen lock instead of a code. Your browser needs to support passkeys; if it doesn't, the **Add** button stays off. Once one is on, every new sign-in asks for it, whichever way you sign in: wallet, email or a social account. Connecting another account while you're already signed in doesn't ask for it. ### Set up an authenticator app 1. Under **Two-factor sign-in**, press **Set up** next to **Authenticator app**. 2. Open an authenticator app on your phone and scan the QR code, or type the key shown under it. 3. Enter the 6-digit code the app shows. ### Add a passkey 1. Press **Add** next to **Passkeys**. 2. Give the passkey a name, then press **Create passkey** and follow your browser's prompt. You can add more than one passkey, for example one per device. Each one shows when it was added and last used, and **Synced** when your password manager keeps it on your other devices. Rename or remove a passkey from its row. ### Recovery codes When you turn on your first way to sign in, Guild gives you ten recovery codes. Each code lets you in once if you lose your phone or passkey. They are shown only once: copy or download them, keep them somewhere safe, and tick that you saved them to close the window. The **Recovery codes** row shows how many are left and warns you when three or fewer remain. Press **New codes** to make a fresh set; your old codes stop working. ### Confirm it's you Changing two-factor asks you to confirm with a way you already have: a code from your app, a passkey or a recovery code. It asks before you remove the authenticator app or a passkey, make new recovery codes, or add another way in. Turning on two-factor for the first time needs a recent sign-in instead. If you signed in more than 15 minutes ago, Guild asks you to **Sign in again** first. If you remove your last authenticator app or passkey, two-factor is off and your recovery codes are deleted. ### Deleting your account or disconnecting a sign-in method Deleting your account and disconnecting a connected account (a wallet, email or social account) ask you to confirm it's you first. If you signed in in the last 15 minutes, nothing extra is asked. Otherwise Guild asks for a code from your app, a passkey or a recovery code if you have two-factor, or asks you to sign in again if you don't. ## Signing in with two-factor After your wallet, email or social account, Guild asks for your second step. Enter the code from your authenticator app, press **Use passkey**, or switch to **Use a recovery code**. You have 10 minutes to finish; after that, start the sign-in again. After too many wrong codes, Guild asks you to wait a few minutes before you try again. If you can't use your app or passkey, press **Can't use any of these?** It explains the recovery code option and has a button that opens a message to Guild support on Telegram with your account id filled in. It doesn't skip the second step: support checks it's you first (see below). ## Where you're signed in **Where you're signed in** lists every device that is signed in to your account. Each row shows: - the browser and system, for example "Chrome on macOS", and **This device** for the one you're using - roughly where it is and its IP address - how it signed in, and the second step it used, if any - when it signed in and when it was last active Press **Sign out** on a row to sign that device out. **Sign out others** signs out every device except this one. A device you sign out has to sign in again, second step included. A sign-in lasts at most 30 days, however often you use it. Then you sign in again. ## Security e-mails Guild e-mails you when something changes in your account's security: - you add or remove an authenticator app or a passkey - you make new recovery codes - Guild support resets your two-factor - you connect or disconnect a sign-in method (a wallet, email or social account) - you delete your account - someone signs in from a device Guild hasn't seen on your account before A new device means a browser, system and country you haven't signed in from before. You get at most one e-mail a day for the same device. The e-mail says what happened, when, on which device and roughly where. It never contains a code. Security e-mails go to the email address you connected to your account, or to your Google account if you have no email connected. Connect one under **Connected accounts** to get them; without one, Guild has nowhere to send them. Security has a reminder when you have none. For a disconnect or a deletion, the e-mail goes to the address your account had just before the change, so it still reaches you if you disconnect that email. The deletion e-mail comes after the account is deleted, and tells you to contact support if it wasn't you. If you get one for something you didn't do, open your account, sign out the sessions you don't recognise and check your sign-in methods. ## If you're locked out If you've lost your authenticator app and passkeys, sign in with one of your recovery codes, then set up two-factor again. If you have no recovery codes left either, contact Guild support (the sign-in screen's **Can't use any of these?** opens that message for you): message [@Zawiasa](https://t.me/Zawiasa) on Telegram, or reply to any security e-mail from Guild. Support checks that you own the account in a way that doesn't rely on your e-mail, then resets your two-factor. The reset removes your authenticator app, passkeys and recovery codes and signs you out everywhere, and Guild e-mails you that it happened. You can then sign in without the second step and set it up again. Source: https://new.guild.xyz/docs/account-security --- # Notifications > Your inbox, and notifications in the browser, by e-mail and on Telegram. Guild tells you when something needs you: someone mentions you or replies to you in a space, a guild posts an announcement, or you lose a role. Everything lands in your inbox, and you can also get it in your browser, by e-mail or on Telegram. ## Your inbox Press the bell at the top of the app to open your inbox, or go to `guild.xyz/notifications`. The bell shows how many notifications you haven't seen. New notifications are listed under **New**, the rest under **Earlier**. Each one says what happened and leads to it, for example the message you were mentioned in. Press **Mark as seen** on one, or **Mark all as seen**. Your inbox holds: - **Role removed**: you stopped meeting a role's requirements. It leads to how to get the role back. See [Losing a role](/docs/members#losing-a-role). - **Mention**: someone @mentioned you in a space. - **Reply**: someone replied to your message or in your thread. - **Guild open**: a guild you follow has opened. - **Early access**: your early access to a guild has started. See [Launches](/docs/launches). - **Announcement**: a new post in an announcement space of a guild you're in. It appears when you open your inbox. - **Proposal**: a vote you can cast opened, closes within a day, or has a result. - **Referral**: someone joined a guild through your invite link. - **Level up**: you reached a new profile level. See [Profile levels](/docs/profile-levels). - **Verification**: news about your verified person request. See [Verified person](/docs/verified-person). Under **Notifications** in your account you can switch each kind off for the inbox. ## Choose where you're notified Open your account menu and choose **Notifications**, or go to `guild.xyz/account#notifications`. There are three channels: **Browser**, **Email** and **Telegram**. Each has its own switch, and its own switches for what it tells you about: - **Mentions**: someone @mentions you. - **Replies**: replies to you and in your threads. - **Announcements**: new posts in announcement spaces of guilds you're in. - **Guild launches**: a guild you follow opens, or your early access starts. - **Proposals** and **Referrals**: browser and inbox only. You're only notified about spaces you can read, and never about your own messages. ### Browser Browser notifications are on by default, but your browser asks for permission first. Press **Enable** to allow them. If you blocked notifications for guild.xyz, allow them again in your browser's site settings. They only arrive while Guild is open in a tab, and only while no Guild tab is in front: if you're already looking at Guild, nothing pops up. Several notifications from one guild at once arrive as one. Click a notification to open the message. ### Email The e-mail is a daily summary, sent around 9:00 in your time zone, and only when you missed something: mentions and replies you haven't read, and new announcements. It is grouped by guild and space, with a link to each message. It's off until you switch it on, and it needs an email address or Google account connected to your Guild account. Guild takes your time zone from your browser when you switch it on. Every summary has a link to stop these e-mails. It opens a page where you confirm that you want to turn e-mail notifications off. ### Telegram Telegram notifications are short messages from the Guild bot, with a button that opens the message. 1. Connect your Telegram account to Guild under **Connected accounts**. 2. Under **Notifications**, press **Open Telegram bot** and press **Start** in Telegram. The bot confirms that you'll get Guild notifications there. 3. Switch **Telegram** on. Several notifications in a few seconds arrive as one message. If you block the bot, Guild stops messaging you; open the bot and press **Start** again to get them back. ## Mute what you don't need - **A space or a thread**: use the bell in its header and choose 1 hour, 8 hours, 24 hours or until you turn it back on. A muted space or thread sends nothing (inbox, browser, Telegram, e-mail) and shows no unread badge. - **A whole guild**: use the bell beside the guild name, or **Guilds** under Notifications. **Mentions only** keeps mentions and replies to you; **Nothing** silences the guild, badges included. Your muted spaces and threads are listed under **Muted** in your notification settings, each with **Unmute**. ## Unread badges The guild list shows a dot on a guild with unread messages, and a count when someone mentioned or replied to you. In the sidebar a space shows an **@** count next to its unread number. Source: https://new.guild.xyz/docs/notifications --- # Guild Plus > The member subscription: handle, looks, boosts and pre-registration. Guild Plus is Guild's subscription for members. It costs **$6.99 a month** or **$49.99 a year**, and the annual plan is the better deal. ## What you get - A claimed **@handle** and no limit on display name changes. - Animated pictures and banners, gradient banners and a coloured name in chat. - The Plus set of avatar frames and profile effects. **Annual gets new items 4 weeks early**, and the legendary set from the day it is released. Monthly Plus gets the legendary set 6 months after its release. A locked item shows when Annual's early access ends. - A larger showcase: 6 spots on Plus, 9 on Annual. Your profile level can add up to two more for everyone, up to 9. - **Profile views**: see who visited your profile in the last 7 and 30 days, in **Account, Profile views**. Members appear only if they chose to show themselves; everyone else is counted, not named. History is kept for 90 days. - **Boosts** you can give to the guilds you love. See [Boosts](/docs/boosts). - **Pre-registration** for guilds that are coming soon. See [Launches](/docs/launches). Guild Plus doesn't change your profile level. It never earns renown, and profile level items are earned the same way on every plan. See [Profile levels](/docs/profile-levels). ## Paying Open **Plus** from the menu and pick a plan. You can pay by card, through Stripe, or with **USDC on Base**. A USDC payment extends your Plus by the period you paid for, and shows in your payment history. ## Managing it Everything lives in **Account, Guild Plus**: your status, the renewal date, a link to the Stripe portal for cards, and your payment history. If a payment fails you keep Plus through a grace period while the card is retried, and you get a notice in your inbox. **Upgrading to Annual.** On a monthly card plan, **Upgrade to Annual** switches you in one step: the unused monthly time is credited, the annual price is charged to your card on file, and if the card is declined nothing changes. If your last payment failed or your plan is set to end, fix that in billing first. USDC members extend or switch from the checkout. ## When Plus ends Nothing you made is deleted. Perks that need Plus stop showing, your claimed handle is held for two years (you get a notice when Plus ends, and again 30 days and 7 days before the handle is released), and a guild's boost level that falls because of it is held for 72 hours. Your profile level and its items don't change. Source: https://new.guild.xyz/docs/plus --- # Verified person > Request the badge that says you are one real person. A **verified person** badge tells others you are one real person. Guild reviews a request once, by hand, and the badge stays with your account. ## Who can ask You need **Guild Plus** and at least one connected account that shows you are not a throwaway. The request panel tells you exactly what is missing, in plain words, before you send anything. ## How to request Open **Account, Verified person** and press **Request verification**. Add a short note if it helps. A person at Guild reviews it. You will be told by notification when there is an answer. The review is by a person, so it takes time. - **Needs more information.** The reviewer may ask one question. Reply in the panel and the review continues. - **Approved.** The badge appears on your profile and hover card. Guilds can require it as a role requirement. - **Rejected.** The panel says why. You can ask again after a waiting period, shown as a date. ## Keeping it A verification is valid for a period. The panel offers **Renew** before it ends, so the badge never lapses by surprise. ## For guild admins Add the requirement **Be a verified person** to any role. Members who have the badge meet it. Members who don't see a **Get verified** link that takes them to their account. Source: https://new.guild.xyz/docs/verified-person --- # Token-gate a Discord server > Give Discord roles to ERC-20 token or NFT holders on any of 50 EVM mainnets, and have Guild remove them when someone sells. To token-gate a Discord server with Guild, create a guild, add a role whose requirement is a token or NFT balance (for example "hold at least 1 of our NFTs" or "hold 1,000 of our token"), and give that role a Discord reward that assigns a Discord role. Members connect their wallets and their Discord account to Guild and claim the role; when their wallets meet the requirement, Guild's bot gives them the Discord role, and when they sell or transfer below it, the bot takes the role away. Token and NFT requirements work on 50 EVM mainnets, and Discord gating is part of the free plan. ## What you need - A Discord server you own or have the Administrator permission in. - The contract address of your token or NFT collection, and the chain it lives on. - A guild. If you don't have one yet, start at [/create](/create). ## 1. Create the role 1. On your guild, choose **Manage guild** in the sidebar to open the admin panel. 2. Open **Spaces & roles** and choose **New role**, then **Empty role**. 3. Give the role a name, such as "Holders", and press **Save**. ## 2. Add the token or NFT requirement 1. In the role's inspector, under **Who gets it**, press **Requirement**. 2. For an ERC-20 token, pick **Token balance** and choose **ERC20 balance** under **What to check**. For a chain's native coin, such as ETH, choose **Native currency balance**. For an NFT collection, pick **NFT Balance**. 3. Pick the chain, then paste the contract address. Guild shows the token's name and symbol once it recognizes the address. 4. For an NFT, leave the token ID empty to count any NFT from the collection, enter one **Token ID**, or switch to **Multiple Token IDs** and paste a list. 5. Set the balance and how to compare it, for example at least 1. Enter amounts as a wallet shows them, not in the token's smallest unit. 6. Press **Add requirement**. By default a member meets an NFT requirement if one of their connected wallets holds enough. Tick **Sum across connected wallets** to add up all their wallets instead. See [Tokens and NFTs](/docs/requirements/tokens-and-nfts) for every field. ## 3. Cover more than one chain Each requirement checks one contract on one chain. If your token or collection is on several chains, add one requirement per chain, then set **Members should meet** to **Any one** and press **Save**, so holding on any of them is enough. The same project often has a different address on each chain. **All** means "hold the NFT and the token", and **Group** builds rules like "hold the NFT, or hold the token on Base and on Ethereum". To build tiers, create one role per tier, each with its own balance and its own Discord role. [Supported chains](/docs/chains) lists which chains support balance requirements. ## 4. Connect Discord and add the reward 1. In the same role, under **Unlocks**, press **Add reward** and pick **Discord**. Connect Discord to your Guild account if you haven't yet. 2. Under **Add new server**, pick your server. If Guild's bot isn't in it, Discord opens in a new tab to invite it. Authorize it and come back; the server is added once the bot has joined. 3. Choose **New role** to have Guild create a Discord role with the name you enter, or **Existing role** to use one already in your server. 4. Leave **Keep role once earned** off for holder roles, so the Discord role is removed when someone stops holding. Switch it on only for roles members should keep, such as an achievement. 5. Press **Add reward**. Then, in your Discord server settings under Roles, drag the **Guild.xyz bot** role above every role Guild manages. Discord only lets a bot manage roles below its own. More detail is on [Discord rewards](/docs/rewards/discord). ## 5. Share the link Choose **View as member** in the admin sidebar to check the role reads as you meant. Then post your guild's link (`guild.xyz/` followed by its URL name) in a channel new members see, such as a pinned message in a "get-roles" channel. ## How roles stay up to date Guild gives the Discord role to members who claim it: on joining from your guild's page, or later with **Check access**, for example after buying the NFT. After that you don't check wallets by hand: - Guild refreshes the onchain data behind requirements in the background, so a sale or transfer reaches Guild without anyone pressing a button. - When a member's balance drops below the requirement, they lose the Guild role and the bot removes the Discord role, unless **Keep role once earned** is on. - When a member leaves the guild, every Discord role it gave them is removed, including kept ones. - If Guild temporarily can't read a member's data, it keeps the roles they already have instead of taking them away. It never grants a role on missing data. Adding a requirement to a role people already hold removes it, and its Discord role, from anyone who doesn't meet the new one when they are next checked. ## FAQ ### Is token-gating Discord free on Guild? Yes. Token and NFT requirements and Discord role rewards are available on the free plan. Paid plans add features such as hidden and secret roles, member analytics and forms; see the [pricing page](/pricing). ### What happens when someone sells their NFT or tokens? Once Guild's refreshed data shows the drop, they lose the role and its Discord role, unless **Keep role once earned** is on for that reward. ### Can a member use more than one wallet? Yes. One Guild account can hold several connected wallets, and Guild checks all of them. By default one wallet must hold enough on its own. For NFT requirements you can tick **Sum across connected wallets** to add them up; token and coin balances have no such option. ### Why didn't a member get their Discord role? The usual causes are a Discord account not connected to Guild, a member who hasn't claimed the role since they qualified (they press **Check access**), or the **Guild.xyz bot** role sitting below the role it should assign. Once the bot's role is high enough, the member can press **Reclaim** on the reward to have Guild assign it again. ### Can I require that people held the token for a while, not just today? Yes, on Ethereum and Base. Use a holding history requirement, **Held at a past block** or **Held continuously for**, instead of a plain balance. Source: https://new.guild.xyz/docs/guides/token-gate-discord --- # Token-gate a Telegram group > Let only token or NFT holders into a Telegram group or channel, and remove members who stop qualifying. To make a Telegram group that only token or NFT holders can join, create a guild on Guild, add a role that requires holding your token or NFT, and give that role a Telegram reward. Guild's bot, @Guildxyz_bot, becomes an admin of your group. Members connect their wallet and Telegram account to Guild, and each one who qualifies gets an invite link that works once. When someone stops meeting the requirement, for example because they sold the token, they lose the role and the bot removes them from the group. Telegram gating is part of the free plan. ## Before you start You need: - a Telegram group or channel where you are an admin - the contract address of your token or NFT collection, and the chain it is on - a guild. If you don't have one, create it at [/create](/create) Onchain requirements work on 50 EVM mainnets. See [Supported chains](/docs/chains) for which kinds of requirement each chain supports. ## Set it up ### 1. Create a holder role 1. On your guild, choose **Manage guild** in the sidebar to open the admin panel. 2. Open **Spaces & roles**, choose **New role**, then **Empty role**. The new role opens in the inspector. 3. Give it a name, such as "Holders", and press **Save**. ### 2. Add the token or NFT requirement 1. Under **Who gets it**, press **Requirement**. 2. Pick **Token balance** for a coin or ERC-20 token, or **NFT Balance** for a collection. 3. Choose the chain, paste the contract address and set the minimum amount, for example at least 1 NFT or at least 1,000 tokens. 4. Press **Add requirement**. You can add more requirements to the same role, such as a second collection or an X account older than a date, and choose under **Members should meet** whether members need **All** of them or **Any one**. See [Token and NFT requirements](/docs/requirements/tokens-and-nfts) for every field. ### 3. Connect the Telegram group 1. Under **Unlocks**, press **Add reward** and pick **Telegram**. If your Guild account has no Telegram account connected yet, connect it first. 2. Press **Add Bot to Group**, or **Add Bot to Channel** for a channel. Telegram opens. Choose your group and add the bot as an admin with the permissions it asks for: **Invite Users via Link** and **Ban Users**, plus **Post Messages** in a channel. 3. The bot posts the group's Group ID in the group, a number such as `-100123456789`. Copy it. 4. Paste it into **Group ID** and press **Add reward**. Guild checks the group and shows its name when the bot is set up correctly. If Guild shows an error instead, such as "Bot is not in the group or chat ID is invalid" or "Bot needs to be an administrator in the group", check the number and the bot's admin rights. Sending `/status` to the bot in the group shows whether it is an admin, whether it can add and ban users, and whether the group is private. ### 4. Make the group private Anyone with the link to a public group can join it without going through Guild. Make the group private and stop sharing old invite links, so the only way in is the link Guild gives a qualifying member. ## What members do 1. They open your guild, join it and connect a wallet and their Telegram account. 2. Guild checks the role. If one of their wallets holds enough, they get the role. 3. On the Telegram reward they press **Join Group**, then **Open Telegram** to go in. Share the guild's link wherever you used to share the group's link, for example on your site or in your Discord. ## How removal works Guild refreshes onchain data in the background, so a sale or transfer reaches Guild without the member doing anything. When a member no longer meets the role's requirements, they lose the role and the bot removes them from the group. Their past messages stay. The same happens if they leave the guild. If they qualify again later, they can press **Join Group** again. Guild lifts the earlier removal and gives them a new invite link. If Guild can't read a member's data for a while, it keeps the roles they already have rather than taking them away, so a brief data problem doesn't remove anyone. It never grants a role on missing data. See [How Guild works](/docs/how-guild-works) for the details. ## FAQ ### Does Guild remove people who were already in the group? No. Guild only removes members who claimed the Telegram reward with **Join Group**. People who joined before you set up Guild, or through another link, aren't tracked, so ask them to join through the guild and remove the rest yourself. ### Can members share their invite link? Each link Guild creates can be used by one person. Once a member has joined with it, it can't let anyone else in. ### Can I gate on several tokens or require holding for a period of time? Yes. Add several requirements to the role and combine them with **All**, **Any one** or **Some**. To require that someone held without a break, or held at a past block, use [Holding history](/docs/requirements/holding-history), which works on Ethereum and Base. ### Does this need a paid plan? No. Telegram gating, token and NFT requirements are on the free plan. Paid plans add features such as hidden and secret roles, member analytics and forms; see [Plans](/docs/plans). ### Does it work for Telegram channels as well as groups? Yes. Add the bot with **Add Bot to Channel** and keep the **Post Messages** permission. In a channel the bot's commands don't appear in the menu, so type `/status` in full. For every option of the reward, see [Telegram groups](/docs/rewards/telegram). Source: https://new.guild.xyz/docs/guides/token-gate-telegram --- # Token-gate Discord and Telegram on Base > Give Discord roles and Telegram access to token or NFT holders on Base, including holders for N days, at a snapshot, or with a Coinbase Verification. To token-gate a Discord server or Telegram group for holders of a token or NFT on Base, create a role in Guild, add a **Token balance** or **NFT Balance** requirement with Base as the chain, and give the role a Discord or Telegram reward. Members connect their wallets, and Guild gives the Discord role or the group invite to everyone who holds enough, then takes it away when they sell. Base (chain ID `8453`, with ETH as its native coin) is one of only two chains, with Ethereum, where Guild can also check how long someone has held a token, because Guild runs its own Base archive node. Discord and Telegram gating are on the Free plan. Base is the second most used chain for gating on Guild: 22.3% of active guilds with a chain requirement check Base, and those guilds hold 2.73 million memberships, more than for any other chain. See [State of token-gated communities 2026](/docs/research/state-of-token-gating-2026). ## What Guild can check on Base Every onchain requirement type Guild offers works on Base: | You want members who | Requirement | On Base | |---|---|---| | Hold ETH | **Token balance**, **Native currency balance** | Yes | | Hold an ERC-20 token | **Token balance**, **ERC20 balance** | Yes | | Hold an NFT | **NFT Balance** | Yes | | Held a token at a snapshot | **Held at a past block** | Ethereum and Base only | | Held a token for N days without a break | **Held continuously for** | Ethereum and Base only | | Have an old or active wallet | **Onchain activity** | Yes | | Pass a check your contract answers | **Contract query** | Yes | | Have an EAS attestation | **Be attested by** | Yes | You can also mint an [NFT reward](/docs/rewards/nft) on Base for the members who earn a role. [Supported chains](/docs/chains) compares Base with the other chains. ## Set up the gate The steps match the general guides, with Base picked as the chain: 1. On your guild, choose **Manage guild**, open **Spaces & roles**, and create a role with **New role**, then **Empty role**. 2. Under **Who gets it**, press **Requirement**, pick **Token balance** or **NFT Balance**, choose Base, paste the contract address and set the amount. 3. Under **Unlocks**, press **Add reward** and pick **Discord** or **Telegram**. Copy the contract address from the project's site or from the token's page on Basescan, and check it is the Base address: a project's token often has a different address on Ethereum. For every step in full, follow [Token-gate a Discord server](/docs/guides/token-gate-discord) or [Token-gate a Telegram group](/docs/guides/token-gate-telegram). ## Reward holding, not a quick buy A plain balance only looks at today, so someone can buy the morning a gated drop opens and sell the next day. On Base you can ask for more: - **Held continuously for** checks that a wallet never dipped below the amount for the number of days in **Held For (days)**. Someone who sold and bought back during the window doesn't qualify. - **Held at a past block** checks the balance at a **Block Number** or **Point In Time** you choose, such as your token's launch or an announcement. Buying after it doesn't help. Pick the **Asset Type** (**COIN** for ETH, **ERC20**, **ERC721** or **ERC1155**) and paste the **Token Address**. These two requirements read Base's past state, which only a full archive of the chain can answer, so they aren't offered on Arbitrum, OP Mainnet, Polygon or other chains. See [Holding history](/docs/requirements/holding-history). ## Gate on Coinbase Verifications Coinbase issues EAS attestations on Base, called Coinbase Verifications, that a wallet belongs to a verified Coinbase account, a verified country, or a Coinbase One member. Guild's **Be attested by** requirement turns one of them into a role, which keeps out wallets with no verified account behind them: 1. Press **Requirement** and pick **Be attested by**, then choose Base. 2. In **Reference**, paste Coinbase's attester address. Coinbase's `verifications` repository on GitHub lists it for Base mainnet as `0x357458739F90461b99789350868CD7CF330Dd7EE`. 3. In **Schema Id**, paste the schema for the check you want. The same repository lists Verified Account as `0xf8b05c79f090979bf4a80270aba232dff11a10d9ca55c4f88de95317970f0de9`. 4. Leave **Key** and **Value** empty and press **Add requirement**. Check both values against Coinbase's repository before you rely on them. A member qualifies only if the attestation was made to one of the wallets they connected to Guild. See [Attestations](/docs/requirements/eas). ## Other ideas for Base - **Base users, not fresh wallets**: **Onchain activity**, **First transaction** on Base before a date, or **Transaction count** on Base of at least 50. - **Users of your app**: **Onchain activity**, **Contract call** on your contract and method, at least 5 in a **Relative period** of 30 days. - **Stablecoin holders**: **Token balance**, **ERC20 balance**, USDC on Base. Circle lists the address as `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`. - **Stakers**: a [Contract query](/docs/requirements/contract-query) on your staking contract, such as `balanceOf(address)` with `USER_ADDRESS`. ## Worked example: Base OG A project with an NFT collection and a token on Base wants an "OG" Discord role and a Telegram group for long-term holders. **Role 1, "Base OG"**, for a Discord role: 1. **Onchain activity**, **First transaction**, Base, **Time** before 1 January 2024. 2. **NFT Balance**, Base, the collection's address, at least 1. 3. **Members should meet**: **All**. 4. Reward: **Discord**, **New role** named "Base OG", with **Keep role once earned** off, so the role goes when the NFT does. **Role 2, "Committed holders"**, for the Telegram group: 1. **Held continuously for**, Base, **ERC20**, the token's address, **Held For (days)** 60, at least 500. 2. **Be attested by**, Base, Coinbase's attester and the Verified Account schema. 3. **Members should meet**: **All**. 4. Reward: **Telegram**, with the bot added to the private group. A member who sells the NFT loses "Base OG" and its Discord role once Guild's refreshed data shows the sale. A member who drops below 500 tokens on any day stops meeting role 2, and the bot removes them from the group. ## FAQ ### Is token-gating on Base free? Yes. Every requirement on this page, and Discord and Telegram rewards, are on the Free plan. See [Plans](/docs/plans). ### My token is on Base and Ethereum. Can holding on either count? Yes. Add one requirement per chain, each with that chain's address, and set **Members should meet** to **Any one**. ### Why can I pick Base for holding history but not my other chain? Guild only offers **Held at a past block** and **Held continuously for** where it runs a full archive node of its own, today Ethereum and Base. It won't answer those checks from a provider that may have pruned the history. ### How fast does Guild notice a sale on Base? Guild refreshes onchain data in the background and removes access when members stop qualifying. A member who just bought can press **Check access** on the role instead of waiting. Source: https://new.guild.xyz/docs/guides/token-gate-base --- # Token-gate Discord and Telegram on Arbitrum > Gate a Discord or Telegram group on Arbitrum One for token or NFT holders, ARB delegates, DeFi depositors and protocol users. To token-gate a Discord server or Telegram group for holders of a token or NFT on Arbitrum, create a role in Guild, add a **Token balance** or **NFT Balance** requirement with Arbitrum One as the chain, and give the role a Discord or Telegram reward. Members connect their wallets, Guild gives the Discord role or the group invite to everyone who holds enough, and takes it away when they sell. On Arbitrum you can also gate on ARB voting power, DeFi positions and protocol usage, because Guild can call any read function of an Arbitrum contract. Discord and Telegram gating are on the Free plan. On Guild, 15.1% of active guilds with a chain requirement check Arbitrum, and those guilds hold 1.26 million memberships. See [State of token-gated communities 2026](/docs/research/state-of-token-gating-2026). ## Arbitrum One, not Nova Guild supports Arbitrum One, chain ID `42161`, where ETH pays for gas. Arbitrum Nova (chain ID `42170`) is a separate chain and isn't in Guild's chain list, so tokens that live only on Nova can't be gated. When a project quotes an "Arbitrum" address, check on Arbiscan that it is the Arbitrum One contract. ## What Guild can check on Arbitrum One | You want members who | Requirement | On Arbitrum One | |---|---|---| | Hold ETH | **Token balance**, **Native currency balance** | Yes | | Hold an ERC-20 token | **Token balance**, **ERC20 balance** | Yes | | Hold an NFT | **NFT Balance** | Yes | | Pass a check your contract answers | **Contract query** | Yes | | Have an old or active wallet, or use a protocol | **Onchain activity** | Yes | | Have an EAS attestation | **Be attested by** | Yes | | Held a token at a snapshot, or for N days | **Held at a past block**, **Held continuously for** | No: Ethereum and Base only | You can also mint an [NFT reward](/docs/rewards/nft) on Arbitrum One. [Supported chains](/docs/chains) has the full table. ## Set up the gate 1. On your guild, choose **Manage guild**, open **Spaces & roles**, and create a role with **New role**, then **Empty role**. 2. Under **Who gets it**, press **Requirement**, pick **Token balance** or **NFT Balance**, choose Arbitrum One, paste the contract address and set the amount. 3. Under **Unlocks**, press **Add reward** and pick **Discord** or **Telegram**. The full walkthrough, including the bot's role order in Discord and making a Telegram group private, is in [Token-gate a Discord server](/docs/guides/token-gate-discord) and [Token-gate a Telegram group](/docs/guides/token-gate-telegram). ## ARB holders and delegates ARB, the Arbitrum DAO's governance token, is minted on Arbitrum One. The Arbitrum Foundation lists its contract there as `0x912CE59144191C1204E64559FE8253a0e49E6548`. - **ARB holders**: **Token balance**, **ERC20 balance**, that address, at least the amount you choose, entered as a wallet shows it. - **Delegates with voting power**: ARB voting power comes from delegation, and the token answers `getVotes(address)` with an address's current votes. Add a **Contract query** on Arbitrum One with the ARB address, the method `getVotes(address)`, `USER_ADDRESS` in **Input parameters**, and under **Output to check** a bigint at least your threshold. A Contract query returns raw units, and ARB has 18 decimals, so 1,000 votes is `1000000000000000000000`. A holder who has never delegated, even to themselves, has zero votes, so use the balance check for "holders" and `getVotes` for "people who take part in governance". ## USDC or USDC.e Arbitrum One has two USDC tokens at different addresses. Arbitrum's docs list: | Token | Address | |---|---| | USDC, issued natively by Circle | `0xaf88d065e77c8cC2239327C5EDb3A432268e5831` | | USDC.e, bridged from Ethereum | `0xff970a61a04b1ca14834a43f5de4533ebddb5cc8` | A Token balance requirement checks one contract. To accept either, add both and set **Members should meet** to **Any one**. ## DeFi positions and protocol users Much of what Arbitrum users hold sits in protocols rather than in their wallets: deposits, staked tokens, vault shares. A [Contract query](/docs/requirements/contract-query) reads them: - **Stakers**: `balanceOf(address)` on your staking contract with `USER_ADDRESS`, bigint greater than 0. - **Pool depositors**: `userInfo(uint256,address)` with `[0, "USER_ADDRESS"]`, output index 0, greater than 0. - **Registered users**: a function such as `isRegistered(address)`, boolean equals true. If the vault issues an ERC-20 share token, a plain **Token balance** on the share token works too. To reward use rather than deposits, add **Onchain activity**, **Contract call** on your contract and method, at least 5 in a **Relative period** of 30 days. See [Wallet activity](/docs/requirements/wallet-activity). ## No holding history on Arbitrum **Held at a past block** and **Held continuously for** read past chain state, which only a full archive of the chain can answer. Guild runs its own archive nodes for Ethereum and Base only, so it doesn't offer them on Arbitrum One. Two ways to get close: - For a one-off snapshot, export the holders at your block with your own tooling and upload the wallets as an [Allowlist](/docs/requirements/allowlist). - To favour people who aren't fresh, add **Onchain activity**, **First transaction** on Arbitrum One before a date. ## Worked example: Arbitrum delegates A DAO-adjacent project wants a Telegram group for ARB delegates who are active on Arbitrum, and a Discord role for holders of its own token. **Role 1, "Delegates"**, for the Telegram group: 1. **Contract query**, Arbitrum One, the ARB address, `getVotes(address)`, `["USER_ADDRESS"]`, bigint at least `1000000000000000000000` (1,000 ARB). 2. **Onchain activity**, **Transaction count**, Arbitrum One, at least 20 in a **Relative period** of 90 days. 3. **Members should meet**: **All**. 4. Reward: **Telegram**, with the bot added to the private group. **Role 2, "Holders"**, for a Discord role: 1. **Token balance**, **ERC20 balance**, Arbitrum One, the project's token, at least 500. 2. Reward: **Discord**, **New role** named "Holders", **Keep role once earned** off. A delegate whose delegators move their votes away drops below 1,000 and is removed from the group when Guild next checks. ## FAQ ### Is token-gating on Arbitrum free? Yes. Token, NFT, contract query, onchain activity and attestation requirements, and Discord and Telegram rewards, are on the Free plan. See [Plans](/docs/plans). ### Can holding ARB on Ethereum count? Only if you add it. Each requirement checks one contract on one chain. The Arbitrum Foundation lists a bridged ARB on Ethereum at `0xB50721BCf8d664c30412Cfbc6cf7a15145234ad1`: add a **Token balance** on Ethereum with that address and set **Members should meet** to **Any one**. Bridged ARB isn't counted by the `getVotes` query on Arbitrum One. ### Why can't I pick Arbitrum for "held for 90 days"? Guild offers holding history only on chains it runs a full archive node for, today Ethereum and Base. It doesn't answer those checks from a provider that may have pruned the history. ### My contract isn't verified on Arbiscan. Can I still query it? Yes. If Guild can't load its read functions, type the function's signature by hand, for example `userInfo(uint256,address)(uint256,uint256)`. Source: https://new.guild.xyz/docs/guides/token-gate-arbitrum --- # Token-gate Discord and Telegram on Optimism > Gate a Discord or Telegram group on OP Mainnet for token or NFT holders, OP delegates, EAS attestations and Farcaster followers. To token-gate a Discord server or Telegram group for holders of a token or NFT on Optimism, create a role in Guild, add a **Token balance** or **NFT Balance** requirement with OP Mainnet as the chain, and give the role a Discord or Telegram reward. Members connect their wallets, Guild gives the Discord role or the group invite to everyone who holds enough, and takes it away when they sell. On OP Mainnet you can also gate on OP voting power, EAS attestations and Farcaster accounts. Discord and Telegram gating are on the Free plan. On Guild, 12.9% of active guilds with a chain requirement check OP Mainnet, and those guilds hold 1.29 million memberships. See [State of token-gated communities 2026](/docs/research/state-of-token-gating-2026). ## OP Mainnet in Guild Guild lists the Optimism chain under its official name, **OP Mainnet**: chain ID `10`, with ETH as its native coin. Pick it in the chain picker of each requirement. Copy a token's or collection's address from the project's site or from a block explorer; Optimism's docs list `explorer.optimism.io`. | You want members who | Requirement | On OP Mainnet | |---|---|---| | Hold ETH | **Token balance**, **Native currency balance** | Yes | | Hold an ERC-20 token, such as OP | **Token balance**, **ERC20 balance** | Yes | | Hold an NFT | **NFT Balance** | Yes | | Pass a check your contract answers | **Contract query** | Yes | | Have an old or active wallet, or use a protocol | **Onchain activity** | Yes | | Have an EAS attestation | **Be attested by** | Yes | | Held a token at a snapshot, or for N days | **Held at a past block**, **Held continuously for** | No: Ethereum and Base only | You can also mint an [NFT reward](/docs/rewards/nft) on OP Mainnet. [Supported chains](/docs/chains) has the full table. ## Set up the gate 1. On your guild, choose **Manage guild**, open **Spaces & roles**, and create a role with **New role**, then **Empty role**. 2. Under **Who gets it**, press **Requirement**, pick **Token balance** or **NFT Balance**, choose OP Mainnet, paste the contract address and set the amount. 3. Under **Unlocks**, press **Add reward** and pick **Discord** or **Telegram**. The full walkthrough is in [Token-gate a Discord server](/docs/guides/token-gate-discord) and [Token-gate a Telegram group](/docs/guides/token-gate-telegram). ## OP holders and delegates The OP token is built into OP Mainnet at a fixed address, `0x4200000000000000000000000000000000000042`, listed in Optimism's protocol specification. It is an ERC-20 with voting: holders delegate voting power, to themselves or to someone else, and the token answers `getVotes(address)` with an address's current voting power. - **OP holders**: **Token balance**, **ERC20 balance**, OP Mainnet, that address, at least the amount you choose. - **Delegates and active voters**: **Contract query**, OP Mainnet, that address, the method `getVotes(address)`, `USER_ADDRESS` in **Input parameters**, and under **Output to check** a bigint at least your threshold. The query returns raw units and OP has 18 decimals, so 100 votes is `100000000000000000000`. A holder who has never delegated, not even to themselves, has zero votes. Use the balance for "holders" and `getVotes` for "people who take part in governance". See [Contract query](/docs/requirements/contract-query). ## EAS attestations The Ethereum Attestation Service (EAS) is built into OP Mainnet: Optimism's protocol specification lists it as a predeployed contract at `0x4200000000000000000000000000000000000021`. If you or a partner issue attestations there, Guild's **Be attested by** requirement turns them into a role: 1. Press **Requirement**, pick **Be attested by** and choose OP Mainnet. 2. In **Reference**, paste the address of the attester, the wallet or contract that issues the attestations. 3. In **Schema Id**, paste the schema's UID. Find it on the EAS explorer for OP Mainnet (easscan.org): open the schema, or any attestation made with it, and copy the UID. 4. Optionally check one field with **Key** and **Value**, then press **Add requirement**. Copy the attester and schema from the issuer's own documentation or from the explorer rather than from a third party, and check the attestation is on OP Mainnet: an attestation on Base or Arbitrum One doesn't count for an OP Mainnet requirement. See [Attestations](/docs/requirements/eas). ## Farcaster accounts Farcaster's account registry contracts are deployed on OP Mainnet. Guild's Farcaster requirements check a member's connected Farcaster account rather than a chain: **Follow a profile**, **Have at least [x] followers**, or a value in their profile such as an FID. Combine one with a balance to gate on "holds OP and follows our account". See [Farcaster](/docs/requirements/farcaster). ## USDC or USDC.e Optimism's docs list two USDC tokens on OP Mainnet, and note that the bridged one is being deprecated: | Token | Address | |---|---| | USDC, issued natively by Circle | `0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85` | | USDC.e, bridged from Ethereum | `0x7f5c764cbc14f9669b88837ca1490cca17c31607` | To accept both while holders move over, add one requirement for each and set **Members should meet** to **Any one**. ## No holding history on OP Mainnet **Held at a past block** and **Held continuously for** need a full archive of the chain, and Guild runs its own only for Ethereum and Base. For a snapshot on OP Mainnet, export the holders at your block with your own tooling and upload the wallets as an [Allowlist](/docs/requirements/allowlist). To keep out fresh wallets, add **Onchain activity**, **First transaction** on OP Mainnet before a date. ## Worked example: OP voters A project wants a Discord role for OP delegates who follow it on Farcaster, and a Telegram group for people who use its app. **Role 1, "OP voters"**, for a Discord role: 1. **Contract query**, OP Mainnet, the OP token, `getVotes(address)`, `["USER_ADDRESS"]`, bigint at least `100000000000000000000` (100 OP). 2. **Follow a profile** (Farcaster), the project's account. 3. **Members should meet**: **All**. 4. Reward: **Discord**, **New role** named "OP voters", **Keep role once earned** off. **Role 2, "App users"**, for the Telegram group: 1. **Onchain activity**, **Contract call**, OP Mainnet, the app's contract and method, at least 3 in a **Relative period** of 30 days. 2. Reward: **Telegram**, with the bot added to the private group. A member whose voting power drops below 100 OP, or who unfollows, loses "OP voters" and its Discord role when Guild next checks. An app user who stops using it drops out of the 30-day window and is removed from the group. ## FAQ ### Is token-gating on OP Mainnet free? Yes. Token, NFT, contract query, onchain activity, attestation and Farcaster requirements, and Discord and Telegram rewards, are on the Free plan. See [Plans](/docs/plans). ### Is "Optimism" the same as OP Mainnet in Guild? Yes. Optimism's mainnet is listed as OP Mainnet. Other chains built with the same software are separate chains in the picker, each with its own addresses. ### Can holdings on OP Mainnet and Base count together? Yes, as alternatives. Add one requirement per chain, each with that chain's address, and set **Members should meet** to **Any one**. Each requirement checks one chain, so balances on different chains aren't added together; set a threshold for each. Source: https://new.guild.xyz/docs/guides/token-gate-optimism --- # Token-gate Discord and Telegram on Polygon > Gate a Discord or Telegram group on Polygon for POL holders, game item owners by token ID, and active players, and remove members who stop qualifying. To token-gate a Discord server or Telegram group for holders of a token or NFT on Polygon, create a role in Guild, add a **Token balance** or **NFT Balance** requirement with Polygon as the chain, and give the role a Discord or Telegram reward. Members connect their wallets, Guild gives the Discord role or the group invite to everyone who holds enough, and takes it away when they sell. On Polygon you can also gate on POL, on in-game items by token ID, and on how often a wallet uses a game or app contract. Discord and Telegram gating are on the Free plan. Polygon is the third most used chain for gating on Guild: 21.7% of active guilds with a chain requirement check Polygon, and those guilds hold 1.68 million memberships. See [State of token-gated communities 2026](/docs/research/state-of-token-gating-2026). ## Polygon in Guild Guild's **Polygon** is the Polygon PoS chain: chain ID `137`, with POL as its gas token. Polygon zkEVM is listed as a separate chain, **Polygon zkEVM**, so pick the one your contract is deployed on. Copy addresses from the project's site or from PolygonScan. | You want members who | Requirement | On Polygon | |---|---|---| | Hold POL | **Token balance**, **Native currency balance** | Yes | | Hold an ERC-20 token | **Token balance**, **ERC20 balance** | Yes | | Hold an NFT or a specific item | **NFT Balance** | Yes | | Pass a check your contract answers | **Contract query** | Yes | | Have an old or active wallet, or play a game | **Onchain activity** | Yes | | Have an EAS attestation | **Be attested by** | No | | Held a token at a snapshot, or for N days | **Held at a past block**, **Held continuously for** | No: Ethereum and Base only | You can also mint an [NFT reward](/docs/rewards/nft) on Polygon. [Supported chains](/docs/chains) has the full table. ## Set up the gate 1. On your guild, choose **Manage guild**, open **Spaces & roles**, and create a role with **New role**, then **Empty role**. 2. Under **Who gets it**, press **Requirement**, pick **Token balance** or **NFT Balance**, choose Polygon, paste the contract address and set the amount. 3. Under **Unlocks**, press **Add reward** and pick **Discord** or **Telegram**. The full walkthrough is in [Token-gate a Discord server](/docs/guides/token-gate-discord) and [Token-gate a Telegram group](/docs/guides/token-gate-telegram). ## POL, formerly MATIC Since 4 September 2024, POL has been Polygon PoS's native gas and staking token; MATIC on Polygon was upgraded to it. Some wallets still show the old name. To gate on it, use **Token balance** with **Native currency balance** and Polygon: there is no contract address to paste. Two things a balance doesn't see: - **Staked POL.** Polygon's docs say all staking happens on Ethereum, not on Polygon PoS, so POL a member has delegated to a validator isn't in their Polygon balance. A validator who wants to reward its delegators can add a [Contract query](/docs/requirements/contract-query) on Ethereum against its delegation contract, with a read function that takes the delegator's address. - **POL held on Ethereum.** POL also exists as an ERC-20 on Ethereum. To count it, add a **Token balance** on Ethereum and set **Members should meet** to **Any one**. ## Game items and collections Game and collectible communities often care about one item, not the whole collection. In **NFT Balance**: - leave the token ID empty to count any NFT from the collection, - enter one **Token ID** for a single item, such as a founder's pass, - or switch to **Multiple Token IDs** and paste a list, such as the first 100 mints or every legendary item. Players often keep items in more than one wallet. Tick **Sum across connected wallets** so the items in all of a member's connected wallets add up. See [Tokens and NFTs](/docs/requirements/tokens-and-nfts). To reward playing rather than holding, add **Onchain activity**, **Contract call** on the game's contract and method, with a minimum count in a **Relative period** such as the last 30 days. A player who stops playing drops out of the window and loses the role. See [Wallet activity](/docs/requirements/wallet-activity). ## USDC on Polygon Circle lists native USDC on Polygon PoS at `0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359`. Polygon's docs also list an older USDC bridged from Ethereum over the PoS bridge, PoS-USDC, at `0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174`. They are different tokens; to accept either, add both and set **Members should meet** to **Any one**. ## What Polygon doesn't offer, and what to use instead - **No attestations.** Guild's EAS requirement isn't available on Polygon. If your verifier issues attestations, they need to be on a chain Guild supports for EAS, such as Ethereum, Base, Arbitrum One or OP Mainnet. For bot filtering without attestations, see [Keep bots and sybils out](/docs/guides/keep-out-bots). - **No holding history.** **Held at a past block** and **Held continuously for** need a full archive of the chain, which Guild runs only for Ethereum and Base. For a snapshot, export the holders at your block with your own tooling and upload the wallets as an [Allowlist](/docs/requirements/allowlist). To keep out fresh wallets, add **Onchain activity**, **First transaction** on Polygon before a date. ## Worked example: Polygon players A game with an item collection on Polygon wants a Discord role for active players and a Telegram group for its biggest supporters. **Role 1, "Players"**, for a Discord role: 1. **NFT Balance**, Polygon, the game's collection, at least 1, with **Sum across connected wallets** ticked. 2. **Onchain activity**, **Contract call**, Polygon, the game's contract and its play method, at least 10 in a **Relative period** of 30 days. 3. **Members should meet**: **All**. 4. Reward: **Discord**, **New role** named "Players", **Keep role once earned** off. **Role 2, "Founders"**, for the Telegram group: 1. **NFT Balance**, Polygon, the collection, **Multiple Token IDs** set to the founder's pass IDs, at least 1. 2. **Token balance**, **Native currency balance**, Polygon, at least 500 POL. 3. **Members should meet**: **Any one**. 4. Reward: **Telegram**, with the bot added to the private group. A player who sells their items, or stops playing for a month, loses "Players" and its Discord role when Guild next checks. ## FAQ ### Is token-gating on Polygon free? Yes. Token, NFT, contract query and onchain activity requirements, and Discord and Telegram rewards, are on the Free plan. See [Plans](/docs/plans). ### My requirement used to say MATIC. Do I need to change it? No. A **Native currency balance** on Polygon checks the chain's native coin, which is now POL, and Polygon upgraded holders' MATIC on Polygon PoS automatically. The requirement keeps working with the same amount. ### Why can't I pick Polygon for "Be attested by" or "Held continuously for"? The requirement form only offers the chains each type supports. Attestations work on fewer chains than balances, and holding history only on Ethereum and Base. Source: https://new.guild.xyz/docs/guides/token-gate-polygon --- # Run a points program and leaderboard > Create a points system, award points through roles, grant or import adjustments, show a leaderboard and export it as CSV. To run a points program with a leaderboard on Guild, create a points system in your guild's admin **Points** module, then add a points reward to the roles you want to reward. Members earn the points when they qualify for a role and claim its reward, and every points system has its own leaderboard. Admins can also grant or deduct points by hand, import adjustments from a CSV, and export the leaderboard as a CSV. Points systems, points rewards, the leaderboard and manual adjustments are available on the Free plan. Leaderboard exports and points through the REST API need the Pro plan or above. ## How points work on Guild - A **points system** is a named balance, such as "XP" or "Guild Points". Each one has its own balances, leaderboard and transaction history. A guild can run one system or several, for example one per season or campaign. - **Points rewards** attach a system to a role. When a member gets the role, they can claim its points from the role's reward card. - **Adjustments** are grants and deductions made by an admin, from your own code or by an agent, outside any role. - Every change is a new entry in a ledger. A deduction is a negative entry, so the history behind each balance stays complete. Because a member claims a role's points once, roles are best for one-off milestones: joining or reaching a tier. For tasks such as "repost this on X" that pay points during a campaign, use a [quest](/docs/guides/quests): its points are paid only between its start and end dates. For points that accrue again and again, such as weekly activity in your app, use adjustments, the CSV import or the [REST API](/docs/api). ## Set it up 1. [Create a guild](/create) if you don't have one yet, and open its admin panel. 2. Under **Modules**, open **Points** and press **Create points system** (**New points system** once you have one). Enter a **Point Name**, for example "XP", and optionally an icon. 3. Press **Settings** on the system to choose its visibility: **Public** (visible to members) or **Hidden** (visible to admins only). Only a public system has a member-facing leaderboard. 4. In **Settings**, under **Balance behavior**, decide what happens to points **When user loses role access**, **When user leaves guild** and **When reward is deleted**. The defaults are Keep, Deduct and Keep. Each reward can override them. 5. Open **Spaces & roles**, select a role, and under **Unlocks** press **Add reward**. Pick **Points**, pick your system, and choose **Static** for a fixed amount or **Dynamic** for an amount calculated from the member's native coin balance on an EVM chain, multiplied by a rate you set. Press **Add reward**. 6. Repeat for each role that should give points. The role's [requirements](/docs/requirements) decide what earns them: holding a token, onchain activity, following on X, a Discord role, holding another role, and more. To turn points into progression, add a [points requirement](/docs/requirements/points) to higher roles, for example a role that needs at least 500 XP. ## Grant, deduct and import points On the **Points** page, press **Adjust points**. Choose **Grant** or **Deduct**, find the **Member** by name or paste their Guild user ID, enter the amount, and add an optional **Reason**, which appears in the transaction history. Review the adjustment and confirm it. For many changes at once, open the menu next to **Settings** and choose **Import adjustments**. Paste CSV rows of Guild user ID, whole-number amount and an optional note, for example `userId,amount,note`. Positive amounts grant points and negative amounts deduct them. Each row becomes its own transaction, up to 500 rows per import, and you review every row before it is recorded. Admin grants and deductions, including imports, are recorded in the guild's **Audit log**. To reset a season, **Settings** has **Reset or delete this system**: a reset adds correction entries that bring every balance to zero, and keeps the system, its rewards and its history. ## The leaderboard The **Points** page has two views. **Leaderboard** ranks accounts with a positive balance. **History** lists every grant, deduction and reward claim, and can be filtered to one member. Leaderboard figures can take up to five minutes to refresh. For a public system, the menu has **Open public leaderboard**, a page members can visit at `guild.xyz//leaderboard/`. Members see their balance and rank there. The guild page also lists their balance in every public system under **Your points**, with their rank for the main system only. Choose **Use as main system** on the public system that should show the rank. This leaderboard counts every point of the system since it was created. For a leaderboard over a fixed window, such as the 30 days of a campaign with prizes for the top 10, create a quest leaderboard: it counts only the points earned between its start and end, and its CSV export is built for reviewing and paying winners. See [Leaderboards and prizes](/docs/guides/quests#leaderboards-and-prizes). Under **Settings**, the **Member tiers** tab adds named thresholds, such as Contributor at 100 and Champion at 500, shown as badges next to balances. Tiers are display labels only: they don't grant roles or rewards. Use a points requirement for that. ## Export and automate On the leaderboard, press **Export CSV** to download the highest balances, up to 10,000 accounts. The file has each Guild user ID and point balance, and you can add one **Additional identity column**: Discord, X, GitHub, email, EVM wallet, Telegram, Google or Farcaster. Exports are a Pro plan feature. From your own code, the [REST API](/docs/api) can grant or deduct points and read balances and the leaderboard. API keys need the Pro plan or above. An AI agent connected through the [Guild MCP server](/docs/agents) can read balances and the points ledger with the **Member data** permission, and grant or deduct points with the **Moderation** permission. The MCP server is in beta and free on every plan. ## FAQ **Can members earn points for the same role more than once?** No. A member claims a role's points once. If the points were deducted, for example because they lost the role, they can claim them again when they qualify again. **Do members lose points when they sell their tokens or leave?** By default, points are kept when a member loses a role and deducted when they leave the guild. You can change both in the system's **Balance behavior**, and override them per reward. **Can I give points for activity outside Guild?** Yes. Grant them with **Adjust points**, import a CSV, or send them from your own code through the REST API. **Can I hide the leaderboard?** Yes. Set the points system to **Hidden** and only admins can see its balances and leaderboard. **What does it cost?** Points systems, points rewards, the leaderboard and admin adjustments work on the Free plan. CSV exports of the leaderboard and points through the REST API need Pro ($99 a month) or above. See [Plans](/docs/plans). Source: https://new.guild.xyz/docs/guides/points-and-leaderboards --- # Run quests with points and a leaderboard > Create quests with verified X repost, quote and reply tasks, pay points in a time window, rank members on a leaderboard with prizes, export the winners as CSV and show quests on Quest.xyz. A quest is a short list of tasks that pays points once. "Repost our launch post on X, follow us and join the Discord: 100 points" is a quest. You create quests in your guild's admin panel, members complete them on your guild's **Quests** page, and a time-boxed leaderboard over those points decides who wins your prizes. A quest can also be shown on [Quest.xyz](https://quest.xyz), where people find and play quests from every listed guild with the same Guild account. ## What a quest is - **Tasks.** Each task is a [requirement](/docs/requirements), checked against the member's connected accounts: repost, quote or reply to a post on X, follow an account, be in your Discord server, visit a link, hold a token, make a transaction. By default a member must do all of them; you can also accept any one, or at least a number of them. - **Points.** Completing the quest pays a fixed number of points in one of your [point systems](/docs/rewards/points). Each member is paid once per quest. - **A window.** An optional start and end. Points are paid only between them. - **Its own place.** Quests are listed on the guild's **Quests** page, not among its roles, so they don't crowd your role pages or change your role counts. Underneath, a quest is a role on no page with a points reward, so access checks, rechecks and the points ledger work exactly as they do for roles. Completing a quest makes the member a member of your guild. ## Create a quest 1. In your guild, choose **Manage guild** and open **Quests** in the admin panel. 2. Press **New quest**. 3. Give it a title and a description that says what to do, and optionally an image. 4. Add the tasks with the requirement picker. See [Tasks](#tasks) below. 5. Set the points: the amount, and the point system it pays on. Pick an existing system or create one, such as "XP". 6. Optionally set a **start** and **end**. Leave the start empty to start now and the end empty to run without one. 7. Switch on **Show on Quest.xyz** if the quest should be listed there as well. See [Show on Quest.xyz](#show-on-questxyz). 8. Save. The quest list shows each quest's status (scheduled, live, ended or archived) and how many members completed it. You can change the title, description, image, points amount, dates and listing later. Edit a quest's tasks the way you edit a role's requirements. Changing the amount affects members who complete the quest from then on; points already paid stay as they are. Archiving a quest takes it off the Quests page and Quest.xyz, and members keep the points they earned. ## Tasks Any requirement type can be a task. The ones campaigns use most: - **Repost** a post on X: Guild asks X whether the member's connected account reposted it, and the task is done only if X says yes. - **Quote** a post on X: verified with X the same way. - **Reply** to a post on X: verified with X the same way. It has to be a direct reply to the post, not a reply to someone else's reply under it. - **Like** a post on X: **self-reported**. X does not let Guild confirm a like, so the member's click on the like link is what counts. Don't let a like task decide a prize. - **Follow on X**, **Discord member**, **Visit link**, token and NFT balances, and onchain activity work as they do in roles. See [X requirements](/docs/requirements/x) and [Requirements](/docs/requirements). For a post task, paste the post's URL, for example `https://x.com/guildxyz/status/1234567890`. Members need to connect their X account. Their task card has **Repost on X**, **Quote on X** or **Reply on X**, which opens X with the post ready; after posting they come back and check the task. ## Points A member presses **Complete** on the quest. Guild checks every task, and when they are done and the quest is live, pays the quest's points in one step. Pressing it again never pays twice. Checks of X tasks are limited to 10 per member every 10 minutes, so a member who checks too early may need to wait a few minutes before trying again. A quest's points follow the same ledger as every points reward: each payment is an entry in the system's history and the member's balance is the sum. Quest points are kept by default when a member later stops meeting a task, and deducted if they leave the guild. See [Points](/docs/rewards/points#when-points-are-kept-or-deducted) for how these settings work. ## Windows The window applies to points, not to the tasks. Completing a quest is possible at any time, and a member who does it outside the window still sees which tasks they have done, but is told the quest is not active and gets no points. Before the start the quest shows as scheduled, after the end as ended. Ending a quest early is a matter of moving its end date. ## Leaderboards and prizes A quest leaderboard ranks members by the points they earned on one point system during a fixed window, for example the 30 days of a launch campaign with prizes for the top 10. 1. In the admin's **Quests** section, create a leaderboard. 2. Pick the point system, give it a title, and set its start and end. 3. Choose what counts: - **Quests** (the default): only points paid by this guild's quests on that system. - **All points**: every point on the system in the window, including role rewards and admin adjustments. 4. Describe the prizes. This is text shown to members, such as "Top 10 share 1,000 USDC". 5. Optionally show it on Quest.xyz. Members see the standings on the leaderboard's page in your guild, with their own rank pinned. Ties go to whoever reached the score first. Points deducted after the end don't change the final standings. Guild does not pay prizes. When the leaderboard ends, export its standings as CSV from the admin panel: each row has the rank, points, Guild user ID, primary identity, when the account was created and which account types it has connected. Use it to review the winners, then pay them yourself. ## Show on Quest.xyz Quest.xyz is the public door to Guild quests: the same quests, the same points and the same sign-in, gathered from every listed guild. A quest is shown there when all of these hold: - **Show on Quest.xyz** is on; - it is live: started and not ended; - it is not archived; - Guild staff have not delisted it; - your guild is [verified](/docs/verification) or has at least 50 members. Guild staff can delist a quest that breaks the rules or misleads people, and record why. A delisted quest keeps working in your guild; it only leaves Quest.xyz. ## Fair play Prizes attract farmers. Some habits that keep a leaderboard honest: - Prefer verified tasks (repost, quote, reply, follow) over self-reported likes for anything that decides a prize. - Add a task that is hard to fake at scale, such as an X account created before a date, a wallet with some history, or a World ID profile. See [Keep out bots](/docs/guides/keep-out-bots). - Use the **Quests** scope for a quest leaderboard, so points granted by hand or from other roles don't decide it. - Review the CSV before you pay: new accounts, accounts with a single connected identity and clusters of similar names are worth a second look. - Say in the description and the prizes text how winners are chosen and when they are paid. ## With an AI agent An agent connected to the [Guild MCP server](/docs/agents) can list, create, edit and archive quests, create a leaderboard and read its standings, with the **Read guilds** and **Manage guilds** permissions. It cannot complete a quest for you. See [Manage with an AI agent](/docs/guides/manage-with-ai-agents). ## FAQ ### Should I still make a role for each quest? No. Use a quest for tasks that pay points, and a [role](/docs/roles) for an ongoing status, such as a holder tier or a Discord role. A role can still require a points balance, so quest points can unlock roles. ### Can a member complete the same quest twice? No. Each member is paid once per quest. To reward something again and again, create a new quest for each round, or grant points with **Adjust points** (see [Points and leaderboards](/docs/guides/points-and-leaderboards)). ### Do members need a Quest.xyz account? No. Quest.xyz signs in with Guild, so a member's quests and points are the same in both places. ### Can a quest give a Discord role? No. A quest pays points. Give the Discord role from a role that requires a points balance, so members unlock it by completing quests. Source: https://new.guild.xyz/docs/guides/quests --- # Run quests and campaigns > Run a launch campaign: quests for the tasks on X, Discord and onchain, a leaderboard for the prizes, roles for Discord roles and NFTs members unlock with points, and how to measure results. To run a quest or launch campaign on Guild, make each task list a [quest](/docs/guides/quests). A quest's tasks are checked against each member's connected wallets and accounts: repost, quote or reply to a post on X, follow an account, be in your Discord server, make transactions or call a contract onchain, hold a token. Completing it pays points, a time-boxed leaderboard over those points decides who wins your prizes, and the quest can also be listed on Quest.xyz. Roles stay what they are best at: lasting status such as a holder tier, a Discord role, a Telegram group or an NFT, which members can unlock with the points they earned. ## How a campaign fits together - **Quests for the tasks.** Each quest is a short list of tasks that pays points once, inside the campaign's dates. Quests live on the guild's **Quests** page, not among its roles. See [Run quests with points and a leaderboard](/docs/guides/quests). - **A leaderboard for the prizes.** A quest leaderboard ranks the points members earned from your quests during a fixed window, such as 30 days, and its CSV export is how you review and pay the winners. - **Roles for what lasts.** A role can require a points balance, or another role, so members who complete quests unlock a Discord role, a Telegram group, an NFT or a page. Put a campaign's roles on their own page (a space) so the home page stays simple; Guild's member list, analytics and audit log treat each page as a campaign. ## Set it up 1. **Create a guild** at [/create](/create), or open the one you have and choose **Manage guild** in its sidebar. 2. **Create the quests.** In the admin panel open **Quests** and press **New quest** for each task list: for example "Repost our launch" with a repost task on X, or "Try the app" with a **Contract call** task onchain. Set the points amount, the point system (create one the first time, such as "XP"), and the campaign's start and end. See [Tasks](/docs/guides/quests#tasks) for the task types and how X tasks are verified. 3. **Add a leaderboard** on the same point system for the campaign's dates, with the prizes described for members. See [Leaderboards and prizes](/docs/guides/quests#leaderboards-and-prizes). 4. **Add the rewards that last.** For a Discord role, Telegram group or NFT, add a role (**New role**, **Empty role**) with a **Points** requirement such as **Greater than or equal to** 100 under **Who gets it**, and the reward under **Unlocks**. Use **Range** for tiers that should not overlap. See [Rewards](/docs/rewards). 5. **Chain if you need an order.** A role can require an earlier role with **Have a role** (under **Guild**), so members work through tiers in order. 6. **Cap a reward if you need to.** Under **How many get it**, **Only the first members** closes a role once that many members hold it, and members see how many seats are taken. 7. **Check it as a member.** Choose **View as member** in the admin sidebar and read the quests and roles the way a member will. Then share the guild's Quests page, or switch on **Show on Quest.xyz** for each quest that should be listed there too. Members connect the accounts the tasks need (Guild offers **Connect X** or **Connect wallet** on the task), do the tasks, and press **Complete** on the quest. Onchain and token data also refreshes in the background, so roles keep up with what members do. ## Measure results - **Why members miss it**: in each role's inspector, how many members meet, miss or have not been checked against each task. The task most members miss is marked **Most miss**, which is usually the step to simplify. - **Members**: pick the campaign under the audience filter to list everyone who holds one of its roles, then **Export audience** for a CSV. - **Analytics** (Pro and above): **Campaigns** compares pages by **Visitors**, **Page views**, **Unique role earners** and **Role unlocks**, over 7, 30 or 90 days. **Details** shows each role's performance and the reward claims. - **Quests**: the admin's **Quests** list shows each quest's status and how many members completed it, and each quest leaderboard exports its standings as CSV. - **Points**: every point system has a leaderboard in the admin's **Points** module. Pro and above can export it. See [Points and leaderboards](/docs/guides/points-and-leaderboards). - **Audit log**: **Member activity** records roles gained and lost, rewards claimed and points added or deducted, and can be filtered to one campaign. See [Members and analytics](/docs/members-and-analytics) for what each number counts. ## FAQ ### Do I need a paid plan to run quests? No. Roles, requirements, points, leaderboards, NFT rewards and Discord and Telegram rewards work on the Free plan. **Analytics**, leaderboard exports, gated forms and granting points through the API need Pro ($99 per month) or above. See [Plans](/docs/plans). ### Can Guild check that someone reposted, quoted or replied to a post on X? Yes. Add a repost, quote or reply task with the post's URL: Guild asks X whether the member's connected account did it. Likes are the exception: X does not let Guild confirm one, so a like task is **self-reported** and counts the member's click. The member has to connect their X account, and if that connection expires they are asked to reconnect before the task can be checked. See [Tasks](/docs/guides/quests#tasks). ### What happens if a member unfollows or sells the token after earning the reward? Points a quest paid are kept by default, and each point system can be set to deduct them instead. A role is lost when the member is next checked, and rewards that can be taken back go with it: a Discord role is removed unless you switched on **Keep role once earned**. A minted NFT stays in the member's wallet. ### Can I keep bots and farmers out of a campaign? Add requirements that are hard to fake together, such as a wallet whose first transaction is months old, an X account created before a date, or a World ID profile. See [Keep out bots](/docs/guides/keep-out-bots) for more combinations. ### Can an AI agent set up the campaign for me? Yes. Connect an agent to the Guild MCP server at `https://mcp.guild.xyz/mcp` and ask it to create the quests, the leaderboard, and the roles, rewards and page around them. It is in beta and free on every plan. See [Manage with an AI agent](/docs/guides/manage-with-ai-agents) and [Agents](/docs/agents). Source: https://new.guild.xyz/docs/guides/quests-and-campaigns --- # Manage your community with an AI agent > Connect Claude, Claude Code, Codex or another MCP agent to Guild, choose its permissions, and let it run your Discord, Telegram and web3 community. You can manage a guild with an AI agent by connecting it to Guild's MCP server at `https://mcp.guild.xyz/mcp`. Claude, Claude Code, Codex, Cursor and other AI agents that support remote MCP servers can connect to it. Once it's connected, you can ask the agent in plain language to create roles, set requirements such as "holds 1 of our NFTs on Base", attach Discord roles, Telegram groups and points as rewards, edit pages, read analytics and moderate your guild's chat. The server is free on every plan and in beta. A connection manages one guild, only with the permissions you approve, and agents can't create or delete guilds. ## What an agent can do An agent works with the same building blocks you do in the admin panel: [roles](/docs/roles), [requirements](/docs/requirements) and [rewards](/docs/rewards). With the right permissions it can: - create, edit and delete roles, their requirements and their rewards, including Discord role, Telegram, points, secret, NFT, form and voting rewards - build a progression path, where each role requires the one before it - create and edit pages, change their layout and role order, and choose who can see them - turn a page into a feed, announcements or a chat, post in it as you, and resolve reports or mute and ban members there - create, edit and archive [quests](/docs/guides/quests), create a quest leaderboard and read its standings - create forms and review the submissions - read member analytics and the audit log - read point balances (**Read member data**) and grant or deduct points (**Moderate members**) - create proposals, edit your launch page and change referral settings Connecting a Discord server or Telegram group for the first time means adding Guild's bot there, which an agent can't do for you. Add the first Discord or Telegram reward yourself in the admin panel (see [Discord roles](/docs/rewards/discord) and [Telegram groups](/docs/rewards/telegram)). After that, the agent can use that server or group in other roles. ## Connect your agent You need a guild that you own or administer. If you don't have one yet, create it at [/create](/create): agents can't create guilds. In your guild, choose **Manage guild**, then open **Agents**. Under **Connect your AI assistant**, pick your assistant and follow the two steps it shows: - **Claude**: in Claude, open **Settings**, then **Connectors**, add a custom connector with the link `https://mcp.guild.xyz/mcp`, then press **Connect** and sign in to Guild. - **Claude Code**: run `claude mcp add --transport http guild https://mcp.guild.xyz/mcp`, then type `/mcp` in Claude Code, choose `guild` and sign in. - **Codex**: add `[mcp_servers.guild]` with `url = "https://mcp.guild.xyz/mcp"` to `~/.codex/config.toml`, then run `codex mcp login guild`. - **Other**: add the same link wherever your assistant connects to MCP servers, and sign in to Guild when it asks. This is the route for ChatGPT and any other assistant that supports remote MCP servers with OAuth sign-in. ## Approve the connection When you sign in from the agent, Guild opens a consent page on guild.xyz. It names the app asking for access and where it will return you. Guild may first ask for a second factor or a fresh sign-in. 1. Under **Permissions**, tick what the agent may do: - **Read guilds**: read settings, pages, roles, requirements, rewards, forms, spaces, analytics and the audit log. - **Manage guilds**: change settings, pages, roles, requirements, rewards, forms and spaces, and post in the guild's spaces as you. - **Read member data**: read members, their timelines, form submissions and space conversations, which include personal data. - **Moderate members**: review form submissions and moderate spaces, which means resolving reports, muting and banning. The two member permissions are never ticked in advance, so you only grant them on purpose. 2. Under **Guild this app manages**, pick one guild. 3. Open **Actions this app can never take** if you want the full list, then press **Connect app**. On the **Agents** page these permissions are shown as **Read**, **Manage**, **Member data** and **Moderation**. ## Keep it safe - **Grant the least you need.** **Read guilds** alone is enough to have an agent review your roles and suggest changes. Add **Manage guilds** when you want it to make the changes. - **Ask for a plan first.** Try "Plan the roles for our holders, but don't create anything until I approve." Deleting a role takes it and its rewards away from members, so check any deletion first. - **Check what it did.** Changes to guild settings, roles, points and form reviews appear in the **Audit log**, marked as made by the agent for you. Changes to pages, requirements, reward settings, spaces and proposals aren't in the audit log yet. - **Revoke when you're done.** **Connected agents** on the **Agents** page lists every connection with its permissions, who made it and when it was last used. You can take permissions away from your own connections, or press **Revoke**. A revoked agent stops working within 15 seconds; the changes it already made stay. Whatever you allow, an agent can never create or delete a guild, change its owner, admins, plan or verification, manage API keys or agent connections, vote, join or leave guilds, fill in forms, or claim roles or complete quests for you. It also stops working in a guild if you stop being an owner or admin there. ## Frequently asked questions ### Which AI assistants work with Guild? Claude, Claude Code and Codex have their own steps on the **Agents** page. ChatGPT, Cursor and other agents that support remote MCP servers with OAuth sign-in use the same link. ### Does it cost anything? No. The Guild MCP server is free on every plan, including Free. An agent still works within your plan: member analytics, for example, need Pro. The server is separate from the REST API, whose keys need the Pro plan; see [Plans](/docs/plans). ### Can one agent manage several guilds? A connection manages exactly the guild you picked when you approved it, and that can't be changed later. To manage another guild, connect the agent again and pick that guild. ### Can the agent see my members' personal data? Only if you tick **Read member data** when you approve it. Without it, the agent can still read analytics and the audit log, but not individual members, their form submissions or space conversations. ### Can I use it from a script or CI, without a browser? Yes. On the **Agents** page, open **For developers** and press **Access token**. Name it, pick its permissions and an expiry of 30, 90 or 365 days (90 at most with a member permission), then send it as a Bearer token to the server URL. The token works for that guild only and is shown once. See [Agents](/docs/agents) for the full reference. Source: https://new.guild.xyz/docs/guides/manage-with-ai-agents --- # Reward onchain activity > Give roles, points or Discord and Telegram access for wallet age, transaction count, contract calls, or holding a token since a block or for N days. To give roles or rewards for onchain activity in Guild, add a role with onchain requirements and attach the reward to it. **Onchain activity** checks a wallet's first transaction (wallet age), and counts its transactions, contract deployments and calls to a contract in a fixed date range or a rolling window such as the last 30 days. **Held at a past block** and **Held continuously for** check that a wallet held a token at a snapshot or without a break for a number of days, on Ethereum and Base. Members connect their wallets, Guild checks them and gives out the role's Discord role, Telegram group, points or NFT, and takes back what can be taken back when a member stops qualifying. These requirements need no paid plan. ## Pick the right requirement | You want to reward | Requirement | Setting | |---|---|---| | Old wallets, not fresh ones | **Onchain activity** | **First transaction** before a date | | Real users of a chain | **Onchain activity** | **Transaction count**, optionally only to one **To address** | | Builders | **Onchain activity** | **Contract deployment** | | Users of your protocol | **Onchain activity** | **Contract call** on your contract and method | | Holders at a snapshot | **Held at a past block** | **Block Number** or **Point In Time** | | Long-term holders | **Held continuously for** | **Held For (days)** | | Anything your contract can answer | **Contract query** | a read function called with the member's address | Wallet activity works on fewer chains than token balances, and the form only offers the chains it supports; see [Supported chains](/docs/chains). Holding history works only on Ethereum and Base, because it reads past chain state from the archive nodes Guild runs for those two chains. ## Set it up 1. Create a guild at [/create](/create), or open the admin panel of the one you have. 2. Open **Spaces & roles** and choose **New role**, then **Empty role**. 3. Under **Unlocks**, press **Add reward** and pick what the role gives: a Discord role, a Telegram group, points, an NFT or another reward. 4. Under **Who gets it**, press **Requirement** and pick **Onchain activity**, **Held at a past block** or **Held continuously for**. 5. Fill in the form for the check you picked: - **Wallet age**: under **Select what to check**, choose **First transaction**, pick the chain, and set **Time** to before the date a wallet must be older than. - **Transaction count**: choose **Transaction count**, pick the chain and the number. Enter a **To address** to count only transactions sent to it. - **Contract interactions**: choose **Contract call** and paste the **Contract address**. Guild loads the contract's methods so you can pick one under **Method**; if it can't, type the method's signature, such as `swap(uint256,uint256)`. You can also count only calls with given input values or a transaction value range. - **Holding at a snapshot**: pick **Held at a past block**, Ethereum or Base, the **Asset Type** (**COIN**, **ERC20**, **ERC721** or **ERC1155**) and the **Token Address**, then enter a **Block Number** or a **Point In Time**, not both. - **Holding for N days**: pick **Held continuously for**, the same chain, asset and **Token Address**, and the days in **Held For (days)**. 6. For transaction counts, contract deployments and contract calls, set the time window: **Pick a date** for a fixed **From** and **To**, or **Relative period** for a rolling window. 7. Set the amount to compare against and press **Add requirement**. To combine checks, add several requirements and set **Members should meet** to **All**, **Any one** or **Some**. ## Examples - **OG wallets**: First transaction on Ethereum before 1 January 2022. Reward: an "OG" Discord role. - **Active on Base**: Transaction count on Base, at least 100. Reward: access to a Telegram group. - **Protocol users**: Contract call to your router, the `swap` method, at least 5 times in a relative period of 30 days. Reward: points. - **Launch holders**: Held at a past block, ERC20, your token on Base, at least 100 at the launch block. Reward: an NFT. - **Diamond hands**: Held continuously for, ERC721, your collection on Ethereum, 180 days, at least 1. Reward: a Discord role for a holders' channel. For tiers, give points with each role, then add a points requirement to higher roles, for example Gold at 2,000 points. ## What to watch for - Each requirement checks one chain. To count activity on several chains, add one requirement per chain and combine them with **Any one** or **Some**. - A relative period moves with time, so a member can lose the role when old activity falls out of the window. - **Held continuously for** takes the lowest balance in the window, which always ends now, so someone who sold and bought back during it doesn't qualify. It fails rather than guess for tokens whose balance can change without a Transfer event, such as WETH. - Guild refreshes onchain data in the background. A member who just made a transaction can press **Check access** on the role. - Before adding a requirement to a role many people hold, check **Why members miss it** in the inspector, or use a new role. Every field is described on the [Wallet activity](/docs/requirements/wallet-activity) and [Holding history](/docs/requirements/holding-history) requirement pages. ## FAQ ### Can I require a wallet to be a certain age? Yes. Use **Onchain activity** with **First transaction** and set **Time** to before a date. A wallet whose first transaction on that chain is later doesn't qualify. ### Can I require that someone has held a token since a date? Use **Held continuously for** with the number of days since that date. It checks the balance never dipped below the amount in that time. **Held at a past block** checks only the balance at one block, not the days in between. ### Which chains support these requirements? Holding history works on Ethereum and Base. Wallet activity works on fewer chains than token balances and contract queries; see [Supported chains](/docs/chains). ### Does a member lose the role if they sell? Yes, for current holding and holding-duration checks: the member loses the role and the rewards that can be taken back, such as a Discord role or Telegram group. An NFT stays in their wallet, a revealed secret stays revealed, and points are kept by default. ### What if no requirement fits my contract? Use a [Contract query](/docs/requirements/contract-query). It calls any read function with the member's wallet address and checks the value it returns, such as a staked balance or a registration flag. Source: https://new.guild.xyz/docs/guides/reward-onchain-activity --- # Keep bots and sybils out > Keep bots and multi-account farmers out of a Discord, Telegram group, airdrop or allowlist by combining wallet history, account age, World ID, attestations, scores and the Verified person badge. To keep bots and multi-account farmers (sybils) out of a Discord server, Telegram group, airdrop or allowlist with Guild, put the reward behind a role whose requirements are hard to fake together: wallet history (a first transaction long ago, a transaction count, a balance held without a break), the age of the member's X, Discord or GitHub account, a World ID, an EAS attestation, a Community Intelligence score, or the **Verified person** badge, which a person at Guild grants after reviewing an account by hand. Guild checks members against those requirements, and only members who meet them get the role and what it unlocks. You decide how strict to be. ## What is hard to fake A fresh wallet or social account costs a farmer almost nothing. History, real activity and proof of one human cost much more. These requirements ask for them: | Signal | Requirement to add | Details | |---|---|---| | Wallet age | **Onchain activity**, **First transaction** before a date | [Wallet activity](/docs/requirements/wallet-activity) | | Real onchain use | **Onchain activity**, **Transaction count** or **Contract call** on a chain | [Wallet activity](/docs/requirements/wallet-activity) | | Long-term holding | **Held continuously for** a number of days, or **Held at a past block** (Ethereum and Base only) | [Holding history](/docs/requirements/holding-history) | | Social account history | X **Created At** or **Followers Count**, Discord **Account age**, GitHub **Account age** or **Commit count** | [X](/docs/requirements/x), [Discord](/docs/requirements/discord), [GitHub](/docs/requirements/github) | | One unique human | **World ID Profile**, **Verification Level** **Orb** | [World ID](/docs/requirements/world-id) | | Your own checks | **Be attested by**: an EAS attestation from your verifier's or KYC partner's address | [Attestations](/docs/requirements/eas) | | Reputation | **Community Intelligence Score**, **Trust Score**, read for the member's X account | [Scores](/docs/requirements/scores) | | History on Guild | **Be a verified person**, **Be a Guild user since**, **Profile level** | [Guild activity](/docs/requirements/guild) | A wallet or social account can be linked to only one Guild account at a time, so one aged X or GitHub account can't make several Guild accounts qualify at once. ## Set up a gated role 1. [Create a guild](/create), or open your guild's admin panel. 2. Open **Spaces & roles**, choose **New role** and pick **Empty role**. A new role is open to everyone who joins until you add its first requirement. 3. Under **Who gets it**, press **Requirement**, pick a type from the table above, fill in its form and press **Add requirement**. Repeat for each check. 4. Above the list, set **Members should meet**. **All** is the strictest. **Some**, for example 3 of 5, lets a real person who lacks one signal still qualify. 5. For "World ID Orb, or an old wallet and an old X account", press **Group**, put the requirements in groups and set **Members should meet** inside each group and once more at the top. 6. Under **Unlocks**, press **Add reward** and pick a Discord role, a Telegram group, points, an NFT or another reward. See [Rewards](/docs/rewards). 7. Press **Save**. Members who don't meet a requirement see it marked **Not met** on the role card. When a member later stops meeting the role's requirements, Guild takes the role away, with its Telegram group and its Discord role, unless that reward has **Keep role once earned** on. ## Block wallets you already know To keep out a list of known farmer wallets or email addresses, add an **Allowlist** requirement, upload a `.txt` or `.csv` file with one wallet or email address per line, and choose **Should not satisfy**. It then works as a blocklist: everyone except the people on the list meets it. A member matches with any wallet or email connected to their Guild account. See [Allowlist](/docs/requirements/allowlist). ## One filter for many rewards Put the checks on one role, for example "Eligible", and make your other roles require it with **Have a role** from the **Guild** group. Change the filter once and every role that depends on it follows. On a paid plan you can set that role to **Hidden** under **Who can see it**. Only admins see a hidden role, so members can't read your filters and work around them. ## Airdrops, allowlists and referrals - **Snapshots.** **Held at a past block** checks a balance at a block or moment you choose. Buying after the snapshot doesn't help. - **Scarce rewards.** Under **How many get it**, **Only the first members** closes a role once that many members have it. Keep the filters on that role too. - **Export the list.** In **Members**, choose the **Roles** audience, pick your gated role, press **Export audience**, then **Export CSV**. Download it with **Download CSV**. See [Members and analytics](/docs/members-and-analytics). - **Referrals.** In **Admin, Referrals**, switch on **Only verified people count** when invites earn something worth farming. **Who invited whom** shows each inviter's invitations and whether they count. See [Referrals](/docs/referrals). ## Tune how strict it is Under **Who gets it**, **Why members miss it** shows how many members meet each requirement, how many don't, and how many haven't been checked yet. The one most members miss is marked **Most miss**: check it isn't keeping out real people too. Adding a requirement to a role people already hold changes who qualifies: members who no longer qualify lose the role and its rewards when they are next checked. Create a new role or tell your members first. ## FAQ **Can Guild stop every bot?** No. Each requirement raises the cost of faking an account, and combining several raises it further. Match the strictness to what the reward is worth. **Do members have to go through KYC?** Not unless you ask for it. Guild collects no identity documents; the Verified person review looks at account history. If you or a partner verify people and issue EAS attestations, **Be attested by** turns those attestations into a requirement. **How does the Verified person badge work?** A member with Guild Plus asks for a review from **Account, Verified person**, and a person at Guild reviews the account by hand. Any guild can add **Be a verified person** to a role; members without the badge see a **Get verified** link. See [Verified person](/docs/verified-person). **Which plan do I need?** Discord and Telegram rewards, every requirement in the table above, allowlists, referrals and member exports work on the Free plan. **Custom API call** and **Submitted a form** need Pro, and hidden roles need Starter or above. See [Plans](/docs/plans). **Can I use my own sybil scoring?** Yes. On Pro and above, a **Custom API call** requirement asks your own API about a member, so your own score can decide who gets the role. See [Custom API call](/docs/requirements/custom-api-call). Source: https://new.guild.xyz/docs/guides/keep-out-bots --- # Gate pages, forms and secret content > Share pages, secret codes and links, or forms only with holders and members who meet a role's requirements. To share content only with token holders or members who meet your requirements, put it behind a role in Guild. Create a role, give it requirements (hold a token or NFT on any of 50 EVM chains, be on an allowlist, follow an account on X, have a Discord role and more), and add what you want to share as the role's reward: a gated page or space, a secret (a code, link or message only role holders can reveal), or a form only role holders can fill out. Guild checks each member's connected wallets and accounts, opens the content to everyone who qualifies, and closes pages and forms again for members who stop qualifying. If you don't have a guild yet, start at [/create](/create). ## Pick the right kind of content - **A gated page or space** is for content that keeps changing or where members talk: a holders-only page of roles, a feed, an announcements channel or a chat. Members without the role see it in the sidebar with a lock. - **A secret** is for one piece of text: a discount code, a private link, a call link, instructions for the next step. Everyone with the role sees the same text. - **A form** is for collecting something from qualified members: applications, surveys, event sign-ups, feedback. Forms are part of the Pro plan and above. One role can unlock all three at once. ## 1. Set up the role 1. In the admin panel, open **Spaces & roles** and choose **New role**, then **Empty role**. The role opens in the inspector. 2. Under **Who gets it**, press **Add requirement** and pick a type, for example **Token balance**, **NFT Balance** or an allowlist. See [Requirements](/docs/requirements) for every type. 3. If you add more than one, set **Members should meet** to **All** or **Any one**. With three or more you can also pick **Some** and set how many. 4. Give the role a name and press **Save**. A new role starts open to everyone who joins; your first requirement replaces that default. ## 2a. Gate a page or space 1. In **Spaces & roles**, pick the page in the **Space** menu, or add one with **New space**. A new space can start as **Admins only, for now** while you set it up. 2. Press the audience button at the top of the page, for example **Everyone can see it**. 3. Choose **Role holders**, tick the roles under **Roles that open it**, and press **Save**. Each role you picked gets a **View page** permission reward for the page. You can also add it from the role's side: under **Unlocks**, press **Add reward**, pick **Permission**, and choose the page. To make the page a feed, announcements or a chat, change it on the **Space** card. See [Pages and spaces](/docs/spaces). ## 2b. Share a secret code or link 1. Select the role in **Spaces & roles**, and under **Unlocks** press **Add reward**. 2. Pick **Secret**. 3. Give it a title, such as "Holder discount", and optionally an image. Members see the title before they qualify, so keep the secret itself out of it. 4. Write the code, link or message in **Secret Text**. Bold, lists and links work. 5. Press **Create Secret Reward**. Members who hold the role press **Reveal Secret** to read it and **View Secret** to read it again. See [Secrets](/docs/rewards/secrets). ## 2c. Gate a form 1. In the admin panel, open **Forms** and create the form. Optionally set **Submissions per member** (0 means unlimited). 2. Select the role in **Spaces & roles**, and under **Unlocks** press **Add reward**. 3. Pick **Form (v2)**, choose the form under **Choose a form** (only forms not yet linked to a reward are listed), and decide on **Automatic approval**: on approves every submission at once, off lets you review them. 4. Press **Add form reward**. Members with the role see **Open form** on the reward card. You read, approve or reject responses in **Forms**, and download them with **Export responses**. See [Forms](/docs/rewards/forms). ## What members see Members sign in, connect the wallets and accounts your requirements check, and join or press **Check access**. Once they hold the role, gated pages open and form and secret rewards unlock on the role's card. Before that, they see what is locked and which requirements are left. ## When someone stops qualifying When a member no longer meets the requirements, for example after selling the token, they lose the role. Gated pages close for them again and they can no longer fill out the form. A secret they already revealed can't be taken back. ## FAQ ### Can I give each holder a different code? No. A secret shows the same text to everyone who holds the role. For codes that must be unique per person, hand them out another way. ### Can people who don't qualify see that the content exists? By default, yes: a gated page shows in the sidebar with a lock, and a secret's title is visible on the role card. To hide the role itself, set its **Who can see it** to **Secret** or **Hidden** (Starter plan and above) or **Self-reveal** (Pro and above). ### Do I need a paid plan? Not for pages and secrets: roles, requirements, pages open to role holders and secret rewards work on every plan, Free included. Gated forms need Pro or above, and hiding roles with **Secret** or **Hidden** visibility needs Starter or above. Compare plans on the [pricing page](/pricing). ### Can a form unlock another role? Yes. Add the **Submitted a form** requirement to a second role. Only approved submissions count, so with **Automatic approval** off you decide who gets in. ### Does access update if someone buys the token later? Yes. Guild refreshes onchain data in the background, and a member can also press **Check access** to be checked right away. Source: https://new.guild.xyz/docs/guides/gate-content-and-forms --- # Manage an allowlist > Upload or collect an allowlist of wallets and email addresses, and gate a role, Discord role or Telegram group with it. To manage an allowlist (whitelist) in Guild, create a role and give it an **Allowlist** requirement: upload a `.txt` or `.csv` file with one EVM wallet address or email address per line, and only people on the list get the role and what it unlocks, such as a Discord role, a Telegram group or a gated page. If you don't have the list yet, let Guild collect it: create a role whose requirements describe who qualifies, then export the members who hold it from **Members**. Both approaches start with a guild. If you don't have one, go to [/create](/create). ## Gate access with a list you already have Use this when you already know who should get in: beta testers, event sign-ups, hackathon winners, customers, or a snapshot taken somewhere else. 1. Prepare the file. Put one wallet address or email address on each line; you can mix both kinds in one file. In the requirement form, **View example file** shows the format. 2. In the admin panel, open **Spaces & roles** and choose **New role**, then **Empty role**. Name it, for example "Allowlist", and press **Save**. 3. Under **Who gets it**, press **Requirement** and pick **Allowlist**. 4. Keep **Should satisfy** selected. 5. Choose **Upload allowlist**, pick the file and wait for **Uploaded allowlist**. 6. Under **Custom image and name**, give the requirement a name you will recognise later, such as "Beta testers, October". 7. Press **Add requirement**. 8. Under **Unlocks**, press **Add reward** and add what the list should open: a Discord role, a Telegram group, a secret, points or access to a page. See [Rewards](/docs/rewards). People on the list sign in to Guild, connect the wallet or email address you listed, and join the guild. A member matches with any wallet or email address connected to their Guild account, so they don't have to sign in with that exact one. ### Add, remove or check entries Open the requirement from the role's **Who gets it** list: - **View uploaded allowlist** opens the list with a search field, so you can check whether an address is on it. **Download** saves it as a text file. - To add people, paste them into **Add new addresses or IDs**, one per line, and press **Add new items**. - To remove people, upload a new file with **Upload allowlist** and press **Save**. Members who are no longer on the list lose the role, and its rewards, when they are next checked. ## Collect the list with a role Use this when the list is the result of a campaign: everyone who did something, rather than names you picked. 1. Create a role, for example "Mint allowlist". 2. Under **Who gets it**, add the requirements that earn a spot, for example follow your account on X, join your Discord server, and an **Onchain activity** requirement for a first transaction before a date you pick, to filter out fresh wallets. Set **Members should meet** to **All**. See [Requirements](/docs/requirements) for every type. 3. To cap the number of spots, open **How many get it**, set **Only the first members** and press **Save limit**. The role closes once that many members hold it, and members see how many spots are taken. 4. Share the guild link. People join, Guild checks them against the role, and everyone who qualifies gets it. When the campaign ends, open **Members**, choose the **Roles** filter and pick the role. Press **Export audience**, then **Export CSV**, and download it with **Download CSV** when it's ready. The CSV includes member IDs and wallet addresses on every plan; connected accounts such as Discord, X and GitHub are included on the Growth plan and above. See [Members and analytics](/docs/members-and-analytics). ### Review applications by hand If you want to pick people yourself, use a form. Members fill out a gated form with **Automatic approval** off, you approve or reject each response, and a second role with the **Submitted a form** requirement goes only to approved members. Forms and the **Submitted a form** requirement are part of the Pro plan and above. See [Forms](/docs/rewards/forms). ## Keep people out with a blocklist An allowlist requirement set to **Should not satisfy** works the other way round: everyone except the people on the list meets it. Add it next to your other requirements, with **Members should meet** set to **All**, to keep known bots or banned wallets out of a role. ## When a list is the wrong tool An uploaded list is a snapshot: it only changes when you change it. If the rule is onchain, such as holding your token or NFT, a [token or NFT requirement](/docs/requirements/tokens-and-nfts) stays current on its own: members who sell lose access when they are next checked. You can combine both in one role, for example "on the allowlist and holds at least one NFT". ## FAQ ### Is an allowlist the same as a whitelist? Yes. Guild calls it an allowlist. It is the **Allowlist** requirement on a role: a list of wallet or email addresses you upload, checked against each member's connected accounts. ### Can I use email addresses instead of wallets? Yes. One file can hold wallet addresses, email addresses or both, one per line. A member matches once that email address is connected to their Guild account. ### Which file formats can I upload? A `.txt` or `.csv` file with one EVM wallet address or email address per line. Use **View example file** in the requirement form to see the format. ### Does the allowlist requirement need a paid plan? No. The **Allowlist** requirement, Discord and Telegram rewards and member exports with wallet addresses are on the free plan. Forms with manual approval need Pro or above. See [Plans](/docs/plans). ### What happens when I remove someone from the list? When they are next checked, they lose the role and whatever it unlocks, such as the Discord role or Telegram group. Members who are still on the list keep their access. Source: https://new.guild.xyz/docs/guides/allowlists --- # The admin panel > Where everything about your guild is managed. The admin panel is where you build and run your guild: its roles, pages, members, moderation and settings, plus modules such as points, forms and analytics. To open it, go to your guild and choose **Manage guild** in the guild's sidebar. The admin panel lives at `guild.xyz//admin`. It keeps the same rail of guilds on the left and replaces the guild's sidebar with a manage sidebar, so you can move between your guild and its settings without losing your place. Only the guild's owner and its admins can open the admin panel. The owner adds and removes admins in **Guild details**; how many extra admins a guild can have depends on its plan. Anyone else who opens an admin link sees an error instead. To see the guild the way your members do, choose **View as member** at the top of the admin sidebar. It takes you to the guild home. Some modules need a paid plan: they stay in the sidebar, marked, and open an upgrade screen. The plan card at the bottom of the sidebar shows your current plan and leads to upgrading. See [Plans](/docs/plans). In **Discord**, use **Target channel** to choose where Guild posts a verification button, then choose **Send verification button**. Guild checks the bot's permissions in that channel before posting. If permissions are missing, allow **View Channel**, **Send Messages** and **Embed Links** in Discord, then choose **Refresh channels**. The button opens your Guild page so members can connect their accounts and claim eligible roles. Customize a Discord verification message with **Message title**, **Message**, and **Button text**. The text preview updates as you type; these edits apply to the message you send. Guild validates Discord’s text limits before posting. The Discord admin page lists the bot’s **View Channel**, **Send Messages**, and **Embed Links** access for the selected channel. Missing permissions include steps to fix them in Discord’s channel and category settings. A failed refresh keeps sending disabled; send failures stay visible with instructions to reconnect, wait, choose another channel, or check for a message whose delivery could not be confirmed. The **Bot status** section also explains the Manage Roles and role-order requirements for Discord role rewards. ## Guild | Section | What it is for | Plan | | --- | --- | --- | | [**Spaces & roles**](/docs/roles) | Your spaces, their roles, who can see them and how they look. | Any | | [**Members**](/docs/members-and-analytics#members) | Understand your members and export audiences. | Any | | [**Moderation**](/docs/spaces#moderation) | Reports, mutes and bans, the log and the word filter. | Any | | [**Connections**](/docs/launch-your-guild#5-connect-your-platforms) | Platforms your rewards are connected to. | Any | | [**Guild details**](/docs/launch-your-guild#3-brand-the-guild) | Name, images, URL, admins and ownership. | Any | ## Modules | Section | What it is for | Plan | | --- | --- | --- | | [**Points**](/docs/rewards/points) | Point systems, balances and leaderboards. | Any | | [**Quests**](/docs/guides/quests) | Tasks for points, and leaderboards with prizes. | Any | | [**Forms**](/docs/rewards/forms) | Gated forms and their responses. | Pro and above | | [**Analytics**](/docs/members-and-analytics#analytics) | Where members come from and what they do. | Pro and above | | [**Audit log**](/docs/members-and-analytics#audit-log) | Every change made in this guild. | Any | | [**Agents**](/docs/agents) | Let Claude, Codex or any MCP agent run this guild for you. | Any | | [**Profile items**](/docs/rewards/profile-item) | Avatar frames and effects for your members. | Any | | [**Boosts**](/docs/boosts#for-guild-admins) | Perks your boosters have unlocked for the guild. | Any | | [**Launch**](/docs/launches#for-guild-admins) | A countdown, a waiting list and early access. | Any | | [**Referrals**](/docs/referrals) | Invite links, a leaderboard and rewards for referrers. | Any | | [**Proposals**](/docs/rewards/voting#for-guild-admins) | Create proposals, follow the votes and see the results. | Any | | [**Discord**](/docs/rewards/discord) | Your Discord servers and their role rewards. | Any | | [**Telegram**](/docs/rewards/telegram) | Your Telegram groups and their rewards. | Any | Source: https://new.guild.xyz/docs/admin-panel --- # Roles > Create roles, decide who gets them and what they unlock. Roles are the keys of your guild: each one says what it unlocks and who gets it. You create and edit them in the admin panel under **Spaces & roles**. ## The roles table **Spaces & roles** shows the roles of one space (page) at a time, in the order members see them. Each row shows the role, what it **Unlocks**, **Who gets it** (for example "All of 3" or "Everyone who joins"), and how many members hold it. With more than a few roles, a search field finds roles by name, reward or requirement. If your guild has more than one page, use the **Space** switcher at the top to pick which page's roles to show. A role belongs to the pages it is shown on, and the same role can be on several pages. Select a row to open the role in the inspector. On a wide screen it opens beside the table; on a smaller one it opens as a sheet. ## Create a role 1. Choose **New role**. 2. Pick **Empty role** to start from scratch, or **Existing role** to show a role you already have on another page here too. 3. The new role opens in the inspector. A new role starts open: everyone who joins the guild gets it. Your first requirement replaces that default. ## Edit a role The inspector is ordered the way a member reads a role: first what they get, then how to get it. ### 1. Unlocks Add the rewards members get with this role using **Add reward**: a Discord role, a Telegram group, points, a secret, an NFT, a form, or access to a page. Rewards save on their own as you add or edit them. See [Rewards](/docs/rewards). ### 2. Who gets it Add requirements with **Add requirement** and pick a type. See [Requirements](/docs/requirements) for every type and its settings. Above the list, **Members should meet** sets how the requirements combine: - **All**: every requirement must be met. - **Any one**: meeting one is enough. - **Some**: at least the number you pick, for example 2 of 5. To build more complex rules, choose **Group** to split the requirements into groups. Each group has its own all or any choice, and you choose how the groups combine in the same way. For example: hold the NFT, or follow on X and be in the Discord. Some requirement types can be set to **Should not satisfy**. Use it to keep out people who meet that requirement. Requirements save on their own as you add or edit them. The **Members should meet** choice saves with the role. ### Why members miss it Under **Who gets it**, **Why members miss it** shows, for each requirement of the role, how many of your members meet it, how many do not, and how many have not been checked yet. The bar under each requirement splits your members into those three; the requirement most members miss is marked **Most miss**, and the roles table repeats it under **Who gets it** as "Most miss: …" so you can spot the requirement that holds a role back without opening it. - **Not checked yet** is not a failure. Guild checks a member against a role when they ask for it, so a member who has never opened the role, or joined recently, is counted here and not as missing. - A requirement a member does not meet is only a reason to miss the role if the role needs it. With **any of**, a member can miss one requirement and still get the role. - The numbers are read from a sample of at most 1,000 members. In a bigger guild they are estimates, and the section says "Estimated from 1,000 of N members" next to them. - They refresh every few minutes, so a change you just made takes a moment to show. Only guild admins see them. ### Limits and numbers Under **How many get it**, you can keep a role for its first members and number them in the order they get it. - **Only the first members**: the role closes once this many members have it, for example the first 10,000. - **Number the members**: members get #1, #2 and on, in the order they get the role. Each member sees their own number on the role. A limit or held numbers always number the members. - **Hold numbers for your team**: keep the first numbers to give out yourself. Members who get the role are numbered after them, and held numbers count toward the limit, so a limit of 10,000 with 20 held leaves 9,980 for everyone else. Press **Save limit** to apply it. Members see how many seats are taken on the role, for example "8,766 of 10,000 claimed", or **Full** once every seat is taken. A number belongs to its member for good. If they lose the role and get it back, they keep their number, and their seat stays taken, so a full role stays full. #### Give out held numbers Once you hold numbers, **Held for your team** shows who has one and which are still free. To give one out, pick a free number and enter the member's email, Discord name or wallet: what they sign in to Guild with. They get the role with that number once they meet its requirements. If they already had a number in the role, they move to the new one, and the number they leave is free again for whoever would get it next. Press **Free** next to a given number to take it back. The member keeps the role if they have it, without a number. ### Who can see it Choose who sees the role on the guild page. Admins always do. - **Public**: everyone who visits the guild. - **Self-reveal**: only members who hold this role. - **Secret**: only members who hold a role you pick. - **Hidden**: only admins. Members never see it. A visibility choice applies at once. Self-reveal, secret and hidden roles need a paid plan; without one, every role is public. See [Plans](/docs/plans). ### Description and image Give the role a name and an image at the top of the inspector, and a description under **Description**. The description is shown on the role card. ### Save Name, image, description and the **Members should meet** choice are a draft until you press **Save**. If you try to leave with unsaved changes, Guild asks first. ## Change the order Choose **Reorder** to change the order of the roles on the current page. Members see roles in this order. To reorder the spaces themselves, drag them in the sidebar's **Spaces** list. ## Remove or delete a role Under **Manage** in the inspector: - **Copy link** copies a link to the role. - **Remove** takes the role off this page. It stays in your guild and on any other page it's on. - **Delete** deletes the role from every page. > [!WARNING] > Deleting a role can't be undone. If you only want it off one page, use **Remove** instead. Source: https://new.guild.xyz/docs/roles --- # Requirements > The conditions a member must meet to get a role. A requirement is a condition a member must meet to get a role: hold a token, follow an account on X, be in a Discord server, hold another role, and so on. A role can have one requirement or many, combined the way you choose. Guild checks them against the wallets and accounts the member has connected. ## Add a requirement to a role 1. In the admin panel, open **Spaces & roles** and select the role. Its inspector opens. 2. Under **Who gets it**, press **Requirement**. 3. In **Add requirement**, search or browse the types and pick one. 4. Choose **Should satisfy**, or **Should not satisfy** to keep out people who meet the condition. 5. Fill in the form. Each type's fields are listed on its page under [the requirement families](#every-requirement). 6. Optionally, under **Custom image and name**, give the requirement your own image, name and an action link. Otherwise Guild names it from its settings. 7. Press **Add requirement**. The requirement is added to the role straight away. To change or remove it later, open it from the same list. > [!WARNING] > Adding a requirement to a role people already hold changes who qualifies. Members who don't meet the new requirement lose the role, and its rewards, when they are next checked. If that is not what you want, create a new role instead, or tell your members first. ## All, any one, or some Above the requirement list, **Members should meet** sets how the requirements combine: - **All**: every requirement must be met. - **Any one**: meeting one of them is enough. Offered once a role has two requirements. - **Some**: at least a number you pick, for example 2 of 5. Offered once a role has three requirements. Changes to this setting wait in the inspector until you press **Save**. ### Groups For logic like "hold the NFT, or follow on X and be in the Discord", split the requirements into groups: 1. Press **Group**. Your existing requirements become the first group and an empty group is added after it. 2. Add requirements to each group with its own **Requirement** button. 3. Set **Members should meet** inside each group, and once more at the top for how the groups combine. An empty group can be deleted with **Remove group**. ## How requirements are checked Guild checks a member's requirements when they join the guild and whenever they press **Check access**. It also refreshes the data behind requirements in the background, so a token sale or a new follow reaches Guild without anyone pressing a button. When the data changes, access changes with it: a member who stops meeting a role's requirements loses the role. If Guild can't read a member's data for a while, for example while it is being refreshed, it keeps the roles they already have instead of taking them away. It never grants a role on missing data. See [How Guild works](/docs/how-guild-works) for the whole picture. Some requirements depend on something only the member can do, such as opening a link or filling out a form. Those update when the member does it. ## What members see On a role card, each requirement shows one of these: - **Met**: the member meets it. - **Not met**: they don't, often with what they have and what they need. - **Checking**: Guild is checking it right now. - **Not checked yet**: Guild can't tell yet, for example because the member is signed out, hasn't joined, or the check hasn't run. When a requirement needs an account the member hasn't connected, the card offers a fix such as **Connect X** or **Connect wallet**. Some types offer a direct action instead, such as **Visit link**, **Fill out the form** or **Join the Discord**. If you set an action link under **Custom image and name**, members see **Complete requirement**. See [Joining a guild](/docs/members) for the member's side. ## Requirements that need a plan Two types are part of the Pro plan and above: - **Custom API call**, which asks your own API about a member. - **Submitted a form**, which checks that a member has filled out one of your gated forms. On a lower plan the picker shows them locked, and choosing one opens the plan page. See [Plans](/docs/plans). ## Every requirement Guild offers 51 kinds of requirement today, grouped below. | Group | What it checks | Types | | --- | --- | --- | | [Tokens and NFTs](/docs/requirements/tokens-and-nfts) | Hold a coin, a token or an NFT, now. | 4 | | [Holding history](/docs/requirements/holding-history) | Held a balance at a past block, or without a break for days. | 2 | | [Wallet activity](/docs/requirements/wallet-activity) | First transaction, transaction count and contract calls. | 5 | | [Contract query](/docs/requirements/contract-query) | Call any read function of a contract and check the answer. | 1 | | [Attestations (EAS)](/docs/requirements/eas) | Be attested by an address on the Ethereum Attestation Service. | 1 | | [POAP](/docs/requirements/poap) | Have attended an event that issued a POAP. | 1 | | [X (Twitter)](/docs/requirements/x) | Follow, like, repost, quote or reply to a post, or have something in an X profile. | 6 | | [Discord](/docs/requirements/discord) | Be a member of a server, or have an account old enough. | 2 | | [Telegram](/docs/requirements/telegram) | Be a member of a Telegram group. | 1 | | [Farcaster](/docs/requirements/farcaster) | Follow a profile, have followers, or something in a profile. | 3 | | [GitHub](/docs/requirements/github) | Star a repository, have commits, or an account old enough. | 3 | | [YouTube](/docs/requirements/youtube) | Subscribe to a channel, or like or comment on a video. | 3 | | [Email](/docs/requirements/email) | Verify an email address at a domain. | 1 | | [Guild activity](/docs/requirements/guild) | Roles, rewards, forms, memberships and accounts on Guild. | 11 | | [Points](/docs/requirements/points) | Have enough points in one of a guild's point systems. | 1 | | [Allowlist](/docs/requirements/allowlist) | Be on a list of wallet or email addresses you upload. | 1 | | [Custom API call](/docs/requirements/custom-api-call) | Ask your own API about a member and check its answer. | 1 | | [Visit link](/docs/requirements/visit-link) | Open a link you choose. | 1 | | [World ID](/docs/requirements/world-id) | Have a World ID profile. | 1 | | [Scores and lists](/docs/requirements/scores) | A Community Intelligence score, or a CryptoRank watchlist. | 2 | Source: https://new.guild.xyz/docs/requirements --- # Tokens and NFTs > Hold a coin, a token or an NFT, now. Token and NFT requirements check what a member's connected wallets hold right now: a chain's native coin, an ERC-20 token, or NFTs from a collection. ## What it's for Use them for holder roles and tiers: "hold at least 1 of our NFTs", "hold 1,000 of our token", "hold a specific token ID". They are checked against the chain's current state, so a member who sells drops below the requirement and loses the role. To check what someone held in the past, or that they held without a break, use [Holding history](/docs/requirements/holding-history). ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Token balance** or **NFT Balance**. 2. For **Token balance**, choose under **What to check** between **Native currency balance** (ETH on Ethereum, for example) and **ERC20 balance**. 3. Pick the chain the token or collection lives on. 4. Paste the contract address. Find it on the project's site or in a block explorer such as Etherscan or Basescan: open the token or collection page and copy the address at the top. Guild shows the token's name and symbol once it recognizes the address. 5. For an NFT, leave the token ID empty to count any NFT from the collection, enter one **Token ID**, or switch to **Multiple Token IDs** and paste a list. 6. Set the balance and how to compare it, then press **Add requirement**. ## Gotchas - Enter amounts as a wallet shows them (1.5 tokens), not in the token's smallest unit. - Make sure the address is on the chain you picked. The same project often has different addresses on different chains. - By default a member meets an NFT requirement if one of their wallets holds enough. Tick **Sum across connected wallets** to add up all their wallets instead. ## Examples - **Holders**: NFT Balance, your collection on Base, at least 1. - **Whales**: Token balance, ERC20 balance, your token on Ethereum, at least 10,000. - **Genesis owners**: NFT Balance with **Multiple Token IDs** set to the first 100 IDs, at least 1. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. **Chains (54):** Ethereum, OP Mainnet, Cronos Mainnet, Rootstock Mainnet, LUKSO, XDC Network, BNB Smart Chain, Gnosis, Polygon, Sonic, Manta Pacific Mainnet, Mint, X Layer Mainnet, opBNB, Boba Network, Filecoin Mainnet, ZKsync Era, World Chain, Astar EVM, Hyper EVM, Metis, Polygon zkEVM, Core Dao, Lisk, Moonbeam, Moonriver, Sei Network, Soneium Mainnet, Ronin, Kava EVM, Mantle, Superseed, MegaETH, ZetaChain, Cyber, Klaytn, Base, IOTA EVM, Mode Mainnet, Arbitrum One, Celo, Avalanche, Sophon, Ink, Linea Mainnet, Taiko Mainnet, Scroll, Zora, Neon EVM MainNet, Monad Mainnet, Hemi, Harmony One, Robinhood Chain, Syndicate Commons. See [supported chains](/docs/chains). ### Coin Balance Members connect a wallet to be checked. Works on every chain listed above except Syndicate Commons. | Field | Type | Details | | --- | --- | --- | | **Balance** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | ### Token Balance Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Balance** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **Token Address** | Text | For example `0x1234567890123456789012345678901234567890`. | ### NFT Balance Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Balance** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **NFT Address** | Text | For example `0x1234567890123456789012345678901234567890`. | | **Token Id** | Text, optional | The id of the NFT the user should have For example `1234567890`. | ### NFT multiple token ids balance Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Balance** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **NFT Address** | Text | For example `0x1234567890123456789012345678901234567890`. | | **Token Id List Id** | Text | Reference to the stored token id list | Source: https://new.guild.xyz/docs/requirements/tokens-and-nfts --- # Holding history > Held a balance at a past block, or without a break for days. Holding history requirements check a balance in the past rather than now: what a wallet held at a given block or moment, or whether it held at least an amount for a number of days without a break. ## What it's for - **Held at a past block** rewards people who held at a snapshot, such as "held our token on launch day". Buying after the snapshot doesn't help, so it can't be gamed later. - **Held continuously for** rewards long-term holders: "held at least 1 of our NFTs for the last 90 days". The check takes the lowest balance in the window, so the member must never have dipped below the amount. Someone who sold on day 40 and bought back on day 89 doesn't qualify, even though they hold it today. Both work only on Ethereum and Base. They read the chain's past state, which only a full archive of the chain can answer, and Guild runs its own archive nodes for those two chains. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Held at a past block** or **Held continuously for**. 2. Pick Ethereum or Base. 3. Choose the **Asset Type**: **COIN** for ETH, **ERC20** for a token, **ERC721** or **ERC1155** for NFTs. 4. Paste the **Token Address** for anything but COIN. Find it on the token's or collection's page in Etherscan or Basescan. 5. For an NFT, enter a **Token ID**, or leave it empty to count the whole collection. 6. For **Held at a past block**, enter either a **Block Number** or a **Point In Time**, not both. A time is resolved to the last block at or before it. 7. For **Held continuously for**, enter the number of days in **Held For (days)**. 8. Set the balance to compare against and press **Add requirement**. ## Gotchas - The **Held continuously for** window always ends now. A member who qualifies today stops qualifying if their balance later dips below the amount. - **Held continuously for** relies on the token's transfer history. Where a balance can change without a Transfer event, such as wrapping and unwrapping WETH, Guild can't prove the balance never dipped, and the check fails rather than guess. ## Examples - **Launch holders**: Held at a past block, ERC20, your token on Base, at block 20,000,000, at least 100. - **Diamond hands**: Held continuously for, ERC721, your collection on Ethereum, 180 days, at least 1. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. **Chains (3):** Ethereum, Base, Robinhood Chain. See [supported chains](/docs/chains). ### Held at a past block Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Balance** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **Block Number** | Number, optional | Evaluate the balance at this block. Mutually exclusive with timestamp. | | **Token Address** | Text, optional | Required for every type except COIN. For example `0x1234567890123456789012345678901234567890`. | | **Point In Time** | datetime-local, optional | Resolved to the last block at or before this moment. | | **Token ID** | Text, optional | ERC721 or ERC1155 token ID. Omit to count the whole collection. | | **Asset Type** | Choice | One of: COIN, ERC20, ERC721, ERC1155. | ### Held continuously for Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Balance** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **Token Address** | Text, optional | Required for every type except COIN. For example `0x1234567890123456789012345678901234567890`. | | **Held For (days)** | Number | The balance must have stayed at or above the required amount for this many days, without dipping. | | **Token ID** | Text, optional | ERC721 or ERC1155 token ID. Omit to count the whole collection. | | **Asset Type** | Choice | One of: COIN, ERC20, ERC721, ERC1155. | Source: https://new.guild.xyz/docs/requirements/holding-history --- # Wallet activity > First transaction, transaction count and contract calls. Wallet activity requirements look at what a member's wallets have done onchain: when they made their first transaction, how many transactions they sent, how many contracts they deployed, and how often they called a contract. ## What it's for - Filter out fresh wallets: "first transaction before 2024". - Reward real users of a chain: "at least 50 transactions on Base". - Reward builders: "deployed at least 1 contract". - Reward users of your protocol: "called `swap` on our router at least 5 times in the last 30 days". ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Onchain activity**. 2. Under **Select what to check**, choose **First transaction**, **Transaction count**, **Contract deployment** or **Contract call**. 3. Pick the chain. 4. For **Contract call**, paste the **Contract address**. Guild loads the contract's methods so you can pick one under **Method**. If it can't, type the method's signature yourself, such as `transfer(address,uint256)`. You can also limit the count to calls with given input values or a transaction value range. 5. For **Transaction count**, optionally enter a **To address** to count only transactions sent to it. 6. Set the time window: **Pick a date** for fixed dates, or **Relative period** for a rolling window such as "the last 30 days". 7. Set the count or date to compare against, then press **Add requirement**. ## Gotchas - Fewer chains support wallet activity than balances. The chain picker offers only the ones that do; see [Supported chains](/docs/chains). - A relative period moves with time, so a member can lose the role when old activity falls out of the window. - Each requirement checks one chain. To count activity on several chains, add one requirement per chain and combine them with **Any one** or **Some**. ## Examples - **OG**: First transaction on Ethereum, before 1 January 2022. - **Active on Base**: Transaction count on Base, at least 100. - **Power users**: Contract call to your contract, any method you pick, at least 10 in a relative period of 30 days. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. **Chains (24):** Ethereum, OP Mainnet, Cronos Mainnet, XDC Network, BNB Smart Chain, Polygon, Sonic, ZKsync Era, Astar EVM, Soneium Mainnet, Ronin, Superseed, Base, IOTA EVM, Arbitrum One, Avalanche, Sophon, Ink, Linea Mainnet, Taiko Mainnet, Monad Mainnet, Hemi, Robinhood Chain, MegaETH. See [supported chains](/docs/chains). ### First Transaction Members connect a wallet to be checked. Works on every chain listed above except Robinhood Chain and MegaETH. | Field | Type | Details | | --- | --- | --- | | **Timestamp** | datetime-local | Compare: at most, less than, at least, more than, exactly, anything but, between. | ### Transaction Count Members connect a wallet to be checked. Works on every chain listed above except MegaETH. | Field | Type | Details | | --- | --- | --- | | **Count** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **Count Type** | Choice | If type is TX_COUNT/TX_COUNT_RELATIVE, this determines what kind of transactions to count. One of: Total transactions, Contract deployments, Transactions to an address. | | **From** | Number, optional | The starting block timestamp in milliseconds (optional) | | **To** | Number, optional | The ending block timestamp in milliseconds (optional) | ### Transaction Count Relative Members connect a wallet to be checked. Works on every chain listed above except MegaETH. | Field | Type | Details | | --- | --- | --- | | **Count** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **Count Type** | Choice | If type is TX_COUNT/TX_COUNT_RELATIVE, this determines what kind of transactions to count. One of: Total transactions, Contract deployments, Transactions to an address. | | **Timeframe** | Number | Milliseconds to look back from current time. E.g. 3600000 counts the number of transactions in the last hour. | ### Contract Call Count Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Contract Address** | Text | The contract address | | **Count** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **From** | Number, optional | Start timestamp in milliseconds | | **Inputs** | object-array, optional | – | | **Max Value** | Number, optional | Maximum value for the transaction | | **Method** | Text | The contract method signature | | **Min Value** | Number, optional | Minimum value for the transaction | | **To** | Number, optional | End timestamp in milliseconds | ### Contract Call Count Relative Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Contract Address** | Text | The contract address | | **Count** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **Inputs** | object-array, optional | – | | **Max Value** | Number, optional | Maximum value for the transaction | | **Method** | Text | The contract method signature | | **Min Value** | Number, optional | Minimum value for the transaction | | **Timeframe** | Number | Milliseconds to look back from current time. E.g. 3600000 counts the number of transactions in the last hour. | Source: https://new.guild.xyz/docs/requirements/wallet-activity --- # Contract query > Call any read function of a contract and check the answer. A contract query calls a read function of any smart contract with the member's wallet address and checks what it returns. Use it when no ready-made requirement fits: staking positions, protocol registrations, eligibility flags, scores kept onchain. ## What it's for If your contract can answer "does this address qualify?" through a function, a contract query turns that answer into a role. Common cases are `isRegistered(address)` returning true, `balanceOf(address)` on a staking contract, or `userInfo(uint256,address)` returning a deposited amount. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Contract query**. 2. Pick the chain the contract is deployed on. 3. Paste the **Contract address**. If the contract is verified on a block explorer, Guild loads its read functions and you pick one. Otherwise, fill the form in by hand with the function's signature, for example `userInfo(uint256,address)(uint256,uint256)`. 4. Fill in **Input parameters**. Put `USER_ADDRESS` wherever the member's wallet address goes. Guild replaces it with each connected wallet when it checks, and a query without it is rejected. 5. Under **Output to check**, pick which returned value to read and its type: an address, a number (bigint) or a boolean. Functions that return several values number them from 0: index 0 is the first value, index 1 the second. 6. Set what the value must be, then press **Add requirement**. ## Gotchas - Guild calls the function without sending a transaction, so it must not be payable, and anything it would change is thrown away. - If the function reverts for a wallet, Guild gets no answer for it, and that wallet can't earn the role. - Numbers come back in the contract's raw units. A token amount with 18 decimals reads as the amount followed by 18 zeros. ## Examples - **Registered users**: `isRegistered(address)` with params `["USER_ADDRESS"]`, output boolean equals true. - **Stakers**: `balanceOf(address)` on your staking contract with `["USER_ADDRESS"]`, output bigint at least `1000000000000000000` (1 token with 18 decimals). - **Pool depositors**: `userInfo(uint256,address)` with `[0, "USER_ADDRESS"]`, output index 0, bigint greater than 0. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. **Chains (54):** Ethereum, OP Mainnet, Cronos Mainnet, Rootstock Mainnet, LUKSO, XDC Network, BNB Smart Chain, Gnosis, Polygon, Sonic, Manta Pacific Mainnet, Mint, X Layer Mainnet, opBNB, Boba Network, Filecoin Mainnet, ZKsync Era, World Chain, Astar EVM, Hyper EVM, Metis, Polygon zkEVM, Core Dao, Lisk, Moonbeam, Moonriver, Sei Network, Soneium Mainnet, Ronin, Kava EVM, Mantle, Superseed, MegaETH, ZetaChain, Cyber, Klaytn, Base, IOTA EVM, Mode Mainnet, Arbitrum One, Celo, Avalanche, Sophon, Ink, Linea Mainnet, Taiko Mainnet, Syndicate Commons, Scroll, Zora, Neon EVM MainNet, Monad Mainnet, Hemi, Harmony One, Robinhood Chain. See [supported chains](/docs/chains). ### Contract query Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **Contract Address** | Text | The contract address For example `0xb0d502e938ed5f4df2e681fe6e419ff29631d62b`. | | **Method** | Text | The text signature of the method to call For example `userInfo(uint256,address)(uint256,uint256)`. | | **Output Index** | Number, optional | The index of the output to return if the method return multiple values in an array | | **Params** | Text | The parameters to pass to the method. You can pass in the data point's account id as a parameter with the keyword USER_ADDRESS For example `[1234, "0x1234567890123456789012345678901234567890", "USER_ADDRESS"]`. | | **Select what to check** | Choice | One of: Output Address, Output Bigint, Output Boolean. | Source: https://new.guild.xyz/docs/requirements/contract-query --- # Attestations (EAS) > Be attested by an address on the Ethereum Attestation Service. An attestation requirement checks that a member's wallet has been attested on the Ethereum Attestation Service (EAS) by a given attester, under a given schema, and optionally that a field of the attestation has a given value. ## What it's for EAS attestations are signed statements about an address: "passed KYC", "attended the hackathon", "graduated from the course". If you or a partner issue attestations, this requirement turns them into a role without any extra integration. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Be attested by**. 2. Pick the chain the attestations are made on. 3. In **Reference**, paste the address of the attester, the wallet or contract that issues the attestations. 4. In **Schema Id**, paste the schema's ID, a `0x` value. Find it on the EAS explorer for that chain (easscan.org): open the schema, or any attestation made with it, and copy its schema UID. 5. To check a field inside the attestation, enter its name in **Key** and the value in **Value**, and pick how to compare them. Leave both empty to require only that an attestation exists. 6. Press **Add requirement**. ## Gotchas - The attestation must be on the chain you picked and made to one of the member's connected wallets. - **Key** must match the field name in the schema exactly. ## Examples - **Verified humans**: attested by your verifier's address under your "verified" schema. - **Graduates**: attested by your course's address, Key `level`, Value `advanced`. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. **Chains (6):** Ethereum, Arbitrum One, OP Mainnet, Base, BASE_GOERLI, Linea Mainnet. See [supported chains](/docs/chains). ### Be attested by Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **The user has attested** | Checkbox | Compare: exactly. | | **Reference** | Text | The address of the attester | | **Schema Id** | Text | The schemaID of the attestation | | **Key** | Text, optional | – | | **Value** | Text, optional | Compare: exactly, anything but, includes, at least, more than, at most, less than. | Source: https://new.guild.xyz/docs/requirements/eas --- # POAP > Have attended an event that issued a POAP. A POAP requirement checks that one of a member's connected wallets holds the POAP of an event, the proof-of-attendance badge the event gave out. ## What it's for Use it to recognize people who showed up: attendees of your meetup, conference, AMA or community call. A role for attendees can unlock a Discord channel, points, or a page for follow-up material. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Attend POAP event**. 2. Search for the event by its name and pick it from the list. 3. Press **Add requirement**. ## Gotchas - The POAP must be in a wallet the member has connected to Guild. Guild checks every connected wallet. - One requirement checks one event. To accept any of several events, add one requirement per event and set the role to **Any one**. To require several, use **All**. ## Examples - **Attendees**: Attend POAP event, your 2026 conference. - **Regulars**: three POAP requirements for your last three community calls, with **Some** set to 2. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### Attend POAP event Members connect a wallet to be checked. | Field | Type | Details | | --- | --- | --- | | **EventIds** | Choice | Compare: includes. | Source: https://new.guild.xyz/docs/requirements/poap --- # X (Twitter) > Follow, like, repost, quote or reply to a post, or have something in an X profile. X requirements check a member's connected X account: whether it follows an account or is followed by it, whether it liked, reposted, quoted or replied to a post, or what its profile says. ## What it's for - Grow an account: a role for everyone who follows yours. - Boost an announcement: a role or points for liking, reposting, quoting or replying to a post. - Filter low-effort accounts: require a minimum follower count, an account older than a date, or a verified account. ## Set it up 1. Under **Who gets it**, press **Requirement**, open **Twitter / X** and pick a type. 2. Fill in the form: - **Follow or be followed by**: enter the account's username, without the @, and choose **Following** (the member follows it) or **Followed By** (it follows the member). - **Like a post**, **Repost a post**, **Quote a post** and **Reply to a post**: paste the post's URL, for example `https://x.com/guildxyz/status/1234567890`, or just its ID, the number at the end of the URL. - **Have something in your profile**: choose the field to check under **Select what to check**, such as **Followers Count**, **Created At** or **Verified**, then the value. 3. Press **Add requirement**. ## Gotchas - Members must connect their X account. A follow requirement shows them a **Follow @username** button that opens the account on X; after following, they press **Check access**. - If a member's X connection has expired, the requirement can't be checked until they reconnect X. Their requirement card offers **Reconnect X**. - Reposts, quotes and replies are verified with X when access is checked: the member does it on X, then presses **Check access**. Likes can't be confirmed with X, so **Like a post** is self-reported. - A suspended X account can't be checked until X restores it. ## Examples - **Followers**: Follow or be followed by, `guildxyz`, Following. - **Supporters**: Repost a post, your launch announcement. - **Established accounts**: Have something in your profile, Created At, before 1 January 2024. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. ### Follow or be followed by Members connect an X account to be checked. | Field | Type | Details | | --- | --- | --- | | **Username** | Text | – | | **Select what to check** | Choice | One of: Followed By, Following. | ### Like a post Members connect an X account to be checked. | Field | Type | Details | | --- | --- | --- | | **Liked** | Checkbox | Compare: exactly. | | **Tweet Id** | Text, optional | – | ### Repost a post Members connect an X account to be checked. | Field | Type | Details | | --- | --- | --- | | **Retweeted** | Checkbox | Compare: exactly. | | **Tweet Id** | Text, optional | – | ### Quote a post Members connect an X account to be checked. | Field | Type | Details | | --- | --- | --- | | **Quoted** | Checkbox | Compare: exactly. | | **Tweet Id** | Text, optional | – | ### Reply to a post Members connect an X account to be checked. | Field | Type | Details | | --- | --- | --- | | **Replied** | Checkbox | Compare: exactly. | | **Tweet Id** | Text, optional | – | ### Have something in your profile Members connect an X account to be checked. | Field | Type | Details | | --- | --- | --- | | **Select what to check** | Choice | One of: Created At, Description, Followers Count, Following Count, Like Count, Listed Count, Media Count, Name, Protected, Tweet Count, Username, Verified, Verified Type. | Source: https://new.guild.xyz/docs/requirements/x --- # Discord > Be a member of a server, or have an account old enough. Discord requirements check a member's connected Discord account: whether it's in a server, and what it has there, such as a role or a nickname, or how old the account is. ## What it's for - Bring an existing Discord community into Guild: give everyone with your "Verified" Discord role a matching Guild role. - Reward long-standing members: "in the server since before 2024". - Keep out throwaway accounts: "Discord account created before last year". To give members a Discord role, rather than check one, use a [Discord reward](/docs/rewards/discord). ## Set it up 1. Under **Who gets it**, press **Requirement**, open **Discord** and pick **Discord member** or **Account age**. 2. For **Discord member**: 1. Pick the **Server**. The list shows the servers your own Discord account is in, so you must be a member of the server, though not necessarily an admin. 2. Under **Select what to check**, choose **Server member**, **Server member since**, **Nickname**, **Premium since** (Server Boost) or **Role**. 3. Fill in the value, for example pick the role. 3. For **Account age**, pick the **Registration Date** and how to compare it. 4. Press **Add requirement**. ## Gotchas - Members must connect their Discord account. If their connection has expired, they're asked to reconnect Discord before the requirement can be checked. - Guild reads membership through the member's own Discord connection. If they leave the server, the requirement stops being met. - If your guild has an invite link saved for the server, members see **Join the Discord** on the requirement. ## Examples - **Discord OGs**: Discord member, your server, Server member since, before 1 January 2023. - **Moderators**: Discord member, your server, Role, "Moderator". - **Real accounts**: Account age, registered before 1 June 2025. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. ### Discord member Members connect a Discord account to be checked. | Field | Type | Details | | --- | --- | --- | | **Server** | Choice | – | | **Select what to check** | Choice | One of: Server member, Server member since, Nickname, Premium since, Role. | ### Account age Members connect a Discord account to be checked. | Field | Type | Details | | --- | --- | --- | | **Registration Date** | datetime-local | Compare: at most, less than, at least, more than, exactly, anything but, between. | Source: https://new.guild.xyz/docs/requirements/discord --- # Telegram > Be a member of a Telegram group. A Telegram requirement checks a member's connected Telegram account against a Telegram group or channel: that they're in it, or something about them there, such as their username or Premium status. ## What it's for Use it to bring an existing Telegram community into Guild, or to give extra roles to people who are already in your group. To let members into a group, rather than check that they're in it, use a [Telegram reward](/docs/rewards/telegram). ## Set it up Guild's Telegram bot, @Guildxyz_bot, has to be an admin of the group or channel before Guild can see who's in it. 1. Under **Who gets it**, press **Requirement**, open **Telegram** and pick **Telegram**. 2. Follow the **group** or **channel** link in the **Chat ID** help text. Telegram opens and asks where to add the bot, as an admin with the permissions it needs. Keep those permissions. 3. Once it's an admin, the bot posts your Group ID in the group, a number such as `-100123456789`. 4. Paste that number into **Chat ID**. 5. Under **Select what to check**, choose **Chat member** to require membership, or another field such as **Username**, **Premium member** or **Language code**, and set its value. 6. Press **Add requirement**. ## Gotchas - If you add the bot by hand instead, make it an admin with at least **Ban users** and **Invite users via link**. In a channel it also needs **Post messages**. - In the group, send `/status` to see whether the bot has the permissions it needs. `/start` repeats the Group ID. - In a channel the bot's commands don't appear in the menu. Type them in full. ## Examples - **Telegram members**: Telegram, your group's Chat ID, Chat member. - **Premium supporters**: Telegram, your group's Chat ID, Premium member. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### Telegram Members connect a Telegram account to be checked. | Field | Type | Details | | --- | --- | --- | | **Chat ID** | Number | Invite our bot to your [group](https://t.me/Guildxyz_bot?startgroup=true&admin=invite_users+restrict_members) or [channel](https://t.me/Guildxyz_bot?startchannel=true&admin=invite_users+restrict_members+post_messages), and paste the given ID here | | **Select what to check** | Choice | One of: Custom title, First name, Chat member, Premium member, Language code, Last name, Nickname, Username. | Source: https://new.guild.xyz/docs/requirements/telegram --- # Farcaster > Follow a profile, have followers, or something in a profile. Farcaster requirements check a member's connected Farcaster account: whether it follows a profile, how many followers it has, or what its profile says. ## What it's for - Grow your Farcaster presence: a role for everyone who follows your account. - Reward established users: at least 500 followers. - Gate on identity: a username or bio that contains a word, or a specific FID. ## Set it up 1. Under **Who gets it**, press **Requirement**, open **Farcaster** and pick a type. 2. Fill in the form: - **Follow a profile**: search for the account by username and pick it. Leave **Should follow the above user** ticked to require following it, or untick it to require not following it. - **Have at least [x] followers**: set the number and how to compare it. - **Have something in your profile**: under **Select what to check**, choose **Bio**, **Display Name**, **Fid** or **Username**, and the value. 3. Press **Add requirement**. ## Gotchas - Members must connect their Farcaster account to Guild. - An FID is the account's permanent number on Farcaster. Usernames can change, so check an FID when it matters who the account is. ## Examples - **Followers**: Follow a profile, your project's account. - **Known casters**: Have at least [x] followers, at least 1,000. - **Team**: Have something in your profile, Bio, contains "@yourproject". ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. ### Follow a profile Members connect a Farcaster account to be checked. | Field | Type | Details | | --- | --- | --- | | **Should follow the above user** | Checkbox | Whether the user should follow the target FID Compare: exactly. | | **Target Fid** | Choice | The FID of the user to follow | ### Have at least [x] followers Members connect a Farcaster account to be checked. | Field | Type | Details | | --- | --- | --- | | **Total Followers** | Number | Total followers of the user Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | ### Have something in your profile Members connect a Farcaster account to be checked. | Field | Type | Details | | --- | --- | --- | | **Select what to check** | Choice | One of: Bio, Display Name, Fid, Username. | Source: https://new.guild.xyz/docs/requirements/farcaster --- # GitHub > Star a repository, have commits, or an account old enough. GitHub requirements check a member's connected GitHub account: whether it starred a repository, how many commits it has authored, or how old it is. ## What it's for - Find developers: a role for people with real commit history. - Grow a project: a role or points for starring your repository. - Keep out new accounts: require an account created before a date. ## Set it up 1. Under **Who gets it**, press **Requirement**, open **GitHub** and pick a type. 2. Fill in the form: - **Star a repository**: paste the repository's URL, such as `https://github.com/your-org/your-repo`. Guild looks the repository up and fills in its ID for you. - **Commit count**: set the number of commits and how to compare it. - **Account age**: pick the **Registration Date** and how to compare it. 3. Press **Add requirement**. ## Gotchas - Members must connect their GitHub account to Guild. - **Commit count** uses GitHub's commit search, which counts commits authored by the account that GitHub can find. That is mostly commits in public repositories; private work usually doesn't count. - A starred repository must be the exact one you pasted. Stars on a fork don't count. ## Examples - **Stargazers**: Star a repository, your main repository. - **Builders**: Commit count, at least 100. - **Veteran developers**: Account age, registered before 1 January 2020. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. ### Star a repository Members connect a GitHub account to be checked. | Field | Type | Details | | --- | --- | --- | | **Repo Id** | Number | – | | **Should be starred by the user** | Checkbox | Checked: the user should have starred the specified repository. Unchecked: the user should not have starred the specified repository. Compare: exactly. | ### Commit count Members connect a GitHub account to be checked. | Field | Type | Details | | --- | --- | --- | | **Count** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | ### Account age Members connect a GitHub account to be checked. | Field | Type | Details | | --- | --- | --- | | **Registration Date** | datetime-local | Compare: at most, less than, at least, more than, exactly, anything but, between. | Source: https://new.guild.xyz/docs/requirements/github --- # YouTube > Subscribe to a channel, or like or comment on a video. YouTube requirements check a member's connected YouTube account: whether it subscribes to a channel, or liked or commented on a video. ## What it's for - Grow a channel: a role for subscribers. - Boost a launch video: points for liking it or leaving a comment. ## Set it up 1. Under **Who gets it**, press **Requirement**, search for YouTube and pick **Subscribe to a YouTube channel**, **Like a YouTube video** or **Comment on a YouTube video**. 2. Fill in the form: - For a channel, paste a channel URL of the form `https://youtube.com/channel/UC...`, or the channel ID itself, which starts with `UC` and is 24 characters long. A handle such as `@yourchannel` is not a channel ID. To find the ID, open the channel's About panel on YouTube, choose Share channel, then Copy channel ID. - For a video, paste the video's URL, or its 11-character ID, the part after `v=` in a `youtube.com/watch?v=` link. 3. Press **Add requirement**. ## Gotchas - Members must connect their YouTube account to Guild, and it must be the account that subscribed, liked or commented. - A subscribe requirement shows members a **Subscribe on YouTube** button that opens the channel. ## Examples - **Subscribers**: Subscribe to a YouTube channel, your channel. - **Launch crew**: Comment on a YouTube video, your launch video. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. ### Subscribe to a YouTube channel Members connect a YouTube account to be checked. | Field | Type | Details | | --- | --- | --- | | **Channel Id** | Text | YouTube channel ID (starts with UC, 24 characters) | | **Subscribed** | Checkbox | Compare: exactly. | ### Like a YouTube video Members connect a YouTube account to be checked. | Field | Type | Details | | --- | --- | --- | | **Liked** | Checkbox | Compare: exactly. | | **Video Id** | Text | YouTube video ID (11 characters) | ### Comment on a YouTube video Members connect a YouTube account to be checked. | Field | Type | Details | | --- | --- | --- | | **Commented** | Checkbox | Compare: exactly. | | **Video Id** | Text | YouTube video ID (11 characters) | Source: https://new.guild.xyz/docs/requirements/youtube --- # Email > Verify an email address at a domain. An email requirement checks the domain of a member's verified email address, for example that it ends in `@yourcompany.com` or `@university.edu`. ## What it's for Gate a role to the people of one organization: employees, students, alumni, or members of a partner. You can also do the opposite and keep one domain out. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Verify an email with domain**. 2. In **Domain**, enter the domain only, without the `@`, for example `yourcompany.com`. 3. Leave **Should have the above domain** ticked to require that domain, or untick it to accept any domain except that one. 4. Press **Add requirement**. ## Gotchas - Members connect an email address to their Guild account and confirm it before it can be checked. - The domain must match the address exactly. `yourcompany.com` does not match `mail.yourcompany.com`; add a second requirement and combine them with **Any one** if you need both. ## Examples - **Team**: Verify an email with domain, `yourcompany.com`. - **Students**: two email requirements, `university.edu` and `alumni.university.edu`, with **Any one**. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### Verify an email with domain Members connect an email address to be checked. | Field | Type | Details | | --- | --- | --- | | **Domain** | Text | – | | **Should have the above domain** | Checkbox | Checked: the email should have the specified domain. Unchecked: the email should have any domain except the specified one. Compare: exactly. | Source: https://new.guild.xyz/docs/requirements/email --- # Guild activity > Roles, rewards, forms, memberships and accounts on Guild. Guild activity requirements check what a member has done on Guild itself: the roles and rewards they hold, the guilds they're in, the forms they submitted, the members they invited, the accounts they connected, how long they've used Guild, and where they sign in from. ## What it's for - **Progression**: make a "Level 2" role require **Have a role** for "Level 1", plus something new. - **Partnerships**: give members of a partner guild a role in yours with **Be a member of a guild** or **Have a role** in their guild. - **Applications**: require **Submitted a form**, so a role unlocks once someone has applied. Only approved submissions count, so with **Automatic approval** off the role waits until you approve the submission. See [Forms](/docs/rewards/forms). - **Referrals**: require **Invite members**, so members who bring others in get a role. Referrals must be on for the guild. See [Referrals](/docs/referrals). - **Account hygiene**: require **Have connected an identity platform**, such as a wallet or X, or **Be a Guild user since** a date. - **Regions**: require **User location** to be, or not be, a country. ## Set it up 1. Under **Who gets it**, press **Requirement**, open **Guild** and pick a type. 2. Fill in the form: - **Be a member of a guild**: pick the guild. - **Have a role** and **Have a reward**: pick the guild, then the role or reward in it. - **Submitted a form**: pick one of this guild's forms. Create forms first in the admin's **Forms** module. - **Have connected an identity platform**: pick the platform. - **Be a Guild user since**: pick the **First Login Date** and how to compare it. - **User location**: pick the **Country** and how to compare it. - **Invite members**: set **Members to invite**. It always counts invites to this guild. 3. Press **Add requirement**. ## Gotchas - **Submitted a form** needs the Pro plan or above. See [Plans](/docs/plans). - A role that requires another role changes when that role does. If a member loses "Level 1", they lose "Level 2" with it. - **User location** uses the country Guild records from where the member signs in. Treat it as a rough signal, not proof of residence. ## Examples - **Level 2**: Have a role, your guild, "Level 1"; and Points, at least 500. - **Partner members**: Be a member of a guild, your partner's guild. - **Applicants**: Submitted a form, your "Apply to Core" form. - **Recruiters**: Invite members, at least 3. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. ### Have a role Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Guild** | Choice | – | | **Role** | Choice | Compare: includes. | ### Be a member of a guild Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Guild** | Choice | Compare: includes. | ### Have a reward Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Guild** | Choice | – | | **Reward** | Choice | Compare: includes. | ### Submitted a form Members connect a Guild account to be checked. Needs the Pro plan or above. | Field | Type | Details | | --- | --- | --- | | **Form** | Text | – | | **Submitted** | Checkbox | Compare: exactly. | ### Be a Guild user since Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **First Login Date** | datetime-local | Compare: at most, less than, at least, more than, exactly, anything but, between. | ### Have connected an identity platform Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Identity Platform** | Choice | Compare: includes. | ### User location Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Location** | Text | Compare: includes, exactly, anything but. | ### Be a verified person Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Select what to check** | Choice | One of: Verified person, Verified on. | ### Boost this guild Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Guild** | Choice | – | | **Select what to check** | Choice | One of: Boosting, Boosting since, Boosts. | ### Invite members Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Guild** | Choice | – | | **Referrals** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | ### Profile level Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Profile level** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | Source: https://new.guild.xyz/docs/requirements/guild --- # Points > Have enough points in one of a guild's point systems. A points requirement checks a member's balance in a point system, so a role unlocks once someone has collected enough points. ## What it's for Points turn into progression this way. Award points with [Points rewards](/docs/rewards/points) for joining, completing tasks or holding roles, then let higher roles require more points: Bronze at 100, Silver at 500, Gold at 2,000. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Points**. 2. Under **Point**, search for the point system and pick it. The list shows each system's name and the guild it belongs to. 3. Set the **Amount** and how to compare it, for example **Greater than or equal to** 500, or **Range** 100 to 499 for a tier with an upper bound. 4. Press **Add requirement**. ## Gotchas - The balance is the member's current total, so it can go down as well as up. Depending on how the point system is set, points can be deducted when a member loses a role, leaves the guild, or when a reward is deleted. A member whose balance drops below the amount loses the role. - You can require points from another guild's point system, for example a partner's. - Use **Range** for tiers that shouldn't overlap, so a Gold member doesn't also hold Bronze. ## Examples - **Bronze**: Points, your points, at least 100. - **Silver only**: Points, your points, Range 500 to 1,999. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### Points Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Amount** | Number | Compare: at least, more than, at most, less than, exactly, anything but, between, within the last, older than. | | **Point** | Choice | – | Source: https://new.guild.xyz/docs/requirements/points --- # Allowlist > Be on a list of wallet or email addresses you upload. An allowlist requirement checks that a member is on a list you upload: wallet addresses, email addresses, or both. ## What it's for Use it when you already know who should get in: early testers, hackathon winners, a snapshot from another platform, customers, event sign-ups. Allowlists suit lists you compile yourself; when the condition lives onchain, a [token](/docs/requirements/tokens-and-nfts) or [contract query](/docs/requirements/contract-query) requirement stays current without uploads. ## Set it up 1. Prepare a `.txt` or `.csv` file with one EVM wallet address or email address per line. You can mix both kinds in one file. Choose **View example file** in the form to see the format. 2. Under **Who gets it**, press **Requirement** and pick **Allowlist**. 3. Choose **Upload allowlist** and pick the file. Wait for **Uploaded allowlist**. 4. Give the requirement a name under **Custom image and name**, such as "Hackathon winners 2026", so you can tell your lists apart. 5. Press **Add requirement**. Choose **View uploaded allowlist** to search the list, or download it. ## Gotchas - A member matches with any wallet or email address connected to their Guild account. - To change who is on the list, edit the requirement and upload a new file. Members who are no longer on it lose the role when they're next checked. - Choose **Should not satisfy** to turn it into a blocklist: everyone except the people on the list. ## Examples - **Beta testers**: Allowlist with the wallets from your beta sign-up form. - **Customers**: Allowlist with your customers' email addresses. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### Allowlist Members connect a wallet and an email address to be checked. | Field | Type | Details | | --- | --- | --- | | **Allowlist Id** | Text | – | | **Contains** | Checkbox | Compare: exactly. | Source: https://new.guild.xyz/docs/requirements/allowlist --- # Custom API call > Ask your own API about a member and check its answer. A custom API call asks your own API about a member's wallet and checks a field in its answer. Use it for anything Guild can't see by itself: your app's database, an offchain leaderboard, a KYC provider, a partner's eligibility check. Custom API call is part of the Pro plan and above. See [Plans](/docs/plans). ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Custom API call**. 2. In the URL field, enter your endpoint with its path and query. Put `` where the member's wallet address goes, for example `https://api.example.com/eligible?address=`. Guild calls it once for each connected wallet, with the address in place of ``. 3. Choose the **HTTP method**, GET or POST. For POST you can add a JSON **Body of the request**. 4. Add **Headers of the request** if your API needs them. `` works in the body and headers too. 5. In **Key**, enter the field of the JSON answer to check, such as `eligible`. In **Value**, enter what it must be, and pick how to compare it. 6. Press **Add requirement**. Your API should answer with a JSON object such as `{"eligible": true}` or `{"score": 42}`. ## Gotchas > [!CAUTION] > Treat the request as public. Anyone can reproduce it, and anything you put in the URL, body or headers may be seen by others. Never put a secret there that you can't afford to leak, and never let your API return private data. - Your API must answer within 10 seconds, and the answer must be at most 32 KB. - A GET request can't have a body. - Guild calls your API again when it refreshes the requirement, so keep it fast and add your own rate limiting. ## Examples - **Active app users**: GET `https://api.example.com/users/`, Key `active`, Equal, `true`. - **Leaderboard top 100**: GET `https://api.example.com/rank?wallet=`, Key `rank`, Less than or equal to, `100`. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### Custom API call Members connect a wallet to be checked. Needs the Pro plan or above. | Field | Type | Details | | --- | --- | --- | | **Body of the request** | Text, optional | – | | **Headers of the request** | object-array, optional | – | | **HTTP method** | Choice, optional | One of: GET, POST. | | **URL of the request, including path and query params** | Text | – | | **Key** | Text | – | | **Value** | Text | Compare: exactly, anything but, includes, at least, more than, at most, less than. | Source: https://new.guild.xyz/docs/requirements/custom-api-call --- # Visit link > Open a link you choose. A visit link requirement is met once a member opens a link you choose from Guild. Use it to point people at something before they get a role: your docs, an announcement, a sign-up page, a video. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Visit link**. 2. Paste the full address into **Url**, starting with `https://`. 3. Press **Add requirement**. Members see a **Visit link** button on the requirement. It opens your page through Guild, which records the visit. The requirement then counts as met, and **Check access** claims the role. ## Gotchas - The visit counts only when the member opens the link from the requirement in Guild. Opening the same page from anywhere else isn't recorded. - Guild records that the link was opened, not that the page was read or a task on it was done. Combine it with a requirement that proves the task, such as a form or a follow, if that matters. ## Examples - **Read the rules**: Visit link to your community guidelines, required for the "Member" role. - **Watched the intro**: Visit link to your onboarding video, worth 10 points. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### Visit link Members connect a Guild account to be checked. | Field | Type | Details | | --- | --- | --- | | **Has Visited** | Checkbox | Whether the user should have visited the above link Compare: exactly. | | **Url** | Text | For example `https://example.com`. | Source: https://new.guild.xyz/docs/requirements/visit-link --- # World ID > Have a World ID profile. A World ID requirement checks a member's connected World ID: how they verified, or the name on their World ID profile. ## What it's for World ID is a proof that an account belongs to a unique human. Use it to keep bots and duplicate accounts out of roles that carry real value: airdrops, votes, scarce rewards. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **World ID Profile**. 2. Under **Select what to check**, choose: - **Verification Level**, then the level: **Orb**, **Device**, **Document** or **Secure Document**. Orb verification, done in person at a World Orb, is the strongest proof of a unique human. - **Given Name** or **Family Name**, then the value to compare. 3. Press **Add requirement**. ## Gotchas - Members must connect their World ID to Guild. - Name fields are only as reliable as what the member's World ID carries. Use the verification level for sybil resistance, not names. ## Examples - **Verified humans**: World ID Profile, Verification Level, Orb. - **Any verified human**: two World ID requirements, Orb and Document, with **Any one**. ## Requirement type This is the exact type the requirement picker offers, with its fields as you see them in the form. ### World ID Profile Members connect a World ID to be checked. | Field | Type | Details | | --- | --- | --- | | **Select what to check** | Choice | One of: Family Name, Given Name, Verification Level. | Source: https://new.guild.xyz/docs/requirements/world-id --- # Scores and lists > A Community Intelligence score, or a CryptoRank watchlist. Scores and lists requirements check data kept outside Guild about a member: a Community Intelligence score for their X account, from score.xyz, or a coin on their CryptoRank watchlist. ## What it's for - **Community Intelligence Score** gates on reputation instead of holdings. It offers two scores, **Trust Score** and **Base Network Score**, both read for the member's X account. Use them to keep low-quality accounts out of valuable roles. - **CryptoRank watchlist verification** rewards people who follow your project on CryptoRank by adding your coin to their watchlist. ## Set it up 1. Under **Who gets it**, press **Requirement** and pick **Community Intelligence Score** or **CryptoRank watchlist verification**. 2. For a score: 1. Pick the score type, **Trust Score** or **Base Network Score**. 2. Under **Select what to check**, choose **Score** to compare the score itself, or **UpdatedAt** to check when the score was last updated. 3. Set the value and how to compare it. 3. For CryptoRank, search for your coin under **Coin ID** and pick it. 4. Press **Add requirement**. ## Gotchas - A score is checked against the member's connected X account. Members without X connected can't meet it. - CryptoRank is checked through the member's connected email address, so it must be the one they use on CryptoRank. - Scores change over time. A member can lose the role if their score drops below your threshold. ## Examples - **Trusted accounts**: Community Intelligence Score, Trust Score, Score, at least the threshold you choose. - **Watchers**: CryptoRank watchlist verification, your coin. ## Requirement types These are the exact types the requirement picker offers, with their fields as you see them in the form. ### Community Intelligence Score Members connect an X account to be checked. | Field | Type | Details | | --- | --- | --- | | **ScoreType** | Choice | Type of score to evaluate One of: Trust Score, Base Network Score. | | **Select what to check** | Choice | One of: Score, UpdatedAt. | ### CryptoRank watchlist verification Members connect an email address to be checked. | Field | Type | Details | | --- | --- | --- | | **Coin ID** | Choice | The ID of the coin to check in watchlist | | **Is Verified** | Checkbox | Compare: exactly. | Source: https://new.guild.xyz/docs/requirements/scores --- # Rewards > What a role unlocks: Discord roles, groups, points and more. Rewards are what a role unlocks: a Discord role, a place in a Telegram group, points, a secret, an NFT, a gated form, voting rights, a profile item, or access to a page. Members see a role's rewards on its card, locked until they meet the requirements, and get them once they hold the role. ## Add a reward to a role 1. In the admin panel, open **Spaces & roles** and select the role. 2. Under **Unlocks**, press **Add reward**. 3. Pick the reward type. 4. Set it up. Each type's page below walks through its form. 5. Press the add button at the end of the form, usually **Add reward**. A role can unlock several rewards, and one role often combines them: a Discord role, some points and access to a page. Some rewards need a connection first. For Discord and Telegram you add Guild's bot to your server or group; for points you create a point system. The form walks you through it the first time, and later you pick from what you already set up. The admin's **Connections** page lists the platforms your rewards use. ## How members get rewards Members get a role's rewards when they qualify for it, either when they join or when they press **Check access**. Some rewards need one more step from them: - a Discord role or Telegram group needs their Discord or Telegram account connected; - a secret is revealed with **Reveal Secret**; - an NFT is minted with **Collect NFT**, and the member pays gas. ## When a member loses access When a member stops meeting a role's requirements, they lose the role, and Guild takes back the rewards that can be taken back: - **Discord**: the role is removed from them in your server, unless you switched on **Keep role once earned** for that reward. - **Telegram**: the bot removes them from the group. - **Points**: kept by default. Each point system decides whether points are kept or deducted when access is lost, when a member leaves the guild, and when a reward is deleted. - **Form**: they can no longer fill out the form. - **Voting rights**: their votes stop counting for new votes. Votes already cast stay as they were. - **Permission**: the page, space or permission it granted closes for them. - **Secret**: the secret can't be taken back once revealed. - **NFT**: the NFT is onchain in their wallet and stays theirs. When a member leaves the guild, every role and its rewards go, including Discord roles set to **Keep role once earned**. > [!TIP] > Changing a role's requirements changes who keeps its rewards. Before adding a requirement to a role many people hold, check how many of them meet it, or put the new condition on a new role. ## Reward types | Reward | What members get | Members connect | | --- | --- | --- | | [Discord](/docs/rewards/discord) | A role in your Discord server, given and taken away with access. | Discord | | [Points](/docs/rewards/points) | Points in one of your point systems, with a leaderboard. | – | | [Permission](/docs/rewards/permissions) | A page or space, or the right to manage part of the guild. | – | | [NFT](/docs/rewards/nft) | An NFT that role holders can mint. | – | | [Telegram](/docs/rewards/telegram) | A place in your Telegram group. | Telegram | | [Secret](/docs/rewards/secrets) | A code, link or message only role holders can reveal. | – | | [Form](/docs/rewards/forms) | The right to fill out one of your gated forms. | – | | [Voting rights](/docs/rewards/voting) | A say in the proposals your guild votes on, weighted by role. | – | | [Profile item](/docs/rewards/profile-item) | An avatar frame or profile effect made for your guild. | – | Source: https://new.guild.xyz/docs/rewards --- # Discord roles > Give members a role in your server. A Discord reward gives members a role in your Discord server while they hold the Guild role, and takes it away when they lose it. Use it for holder channels, verified-member roles, tiers and anything else your server gates by role. ## Connect your server The first Discord reward in a guild connects your server and adds Guild's bot to it. 1. In the admin panel, open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **Discord**. If you haven't connected Discord to your Guild account, connect it first. 3. Under **Add new server**, pick your server. The list shows the servers you own or have the Administrator permission in. 4. If the bot isn't in the server yet, Discord opens in a new tab to invite it. Authorize it, then come back to Guild. The server is added once the bot has joined. Servers you've already added appear under **Already added servers** next time. A server that's already connected to a guild is grayed out and can't be added again. ## Set up the role 1. Choose **New role** to have Guild create a Discord role with the name you enter, or **Existing role** to use a role already in your server, picked from the list. 2. Decide what happens when a member loses access. By default Guild removes the Discord role. Switch on **Keep role once earned** to let members keep it, for example for an achievement. 3. Press **Add reward**. ## Put the bot's role above the roles it manages Discord only lets a bot give and remove roles that sit below its own role. In your server's settings, under Roles, drag the **Guild.xyz bot** role above every role Guild manages. Guild shows a short guide for this when it's needed. If the bot's role is too low, members can't get their Discord role. ## How it works for members 1. They connect their Discord account to Guild. 2. When they qualify for the role, they claim it, and Guild queues the Discord role. During busy periods the button shows **Assigning role** or **Next in queue** while they wait. 3. Once they have it, the reward offers **Go to server**. If the role is missing in Discord, **Reclaim** asks Guild to assign it again. When a member loses the Guild role, the Discord role is removed, unless the reward keeps it. Leaving the guild removes it either way. ## Get members from Discord to Guild Post your guild's link in a channel new members see, such as a pinned message in a "get-roles" channel, and explain what each role unlocks. Name Discord roles after the Guild roles that grant them, so the connection is obvious. The admin's **Discord** page lists your servers and the role rewards in each. Source: https://new.guild.xyz/docs/rewards/discord --- # Telegram groups > Let members into a Telegram group. A Telegram reward lets members into a private Telegram group or channel while they hold the role, and removes them when they lose it. Guild's bot, @Guildxyz_bot, manages who's in. ## Set it up You need to be an admin of the group or channel. 1. In the admin panel, open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **Telegram**. If you haven't connected Telegram to your Guild account, connect it first. 3. Press **Add Bot to Group** or **Add Bot to Channel**. Telegram opens; choose your group or channel and add the bot as an admin. Keep the permissions it asks for: **Invite Users via Link** and **Ban Users**, plus **Post Messages** in a channel. 4. The bot posts your Group ID in the group, a number such as `-100123456789`. Copy it. 5. Paste it into **Group ID** and press **Add reward**. Guild checks the group and shows its name when everything is in place. If Guild answers "Invalid group ID or missing bot permissions", check the number and the bot's admin rights. ## Check the setup Send these to the bot in the group: - `/status` shows the group's Guild settings and whether the bot is an admin, can add and ban users, and whether the group is private. - `/start` repeats the welcome message with the Group ID. - `/help` links to help. In a channel, the command menu doesn't appear when you type `/`. Type the command in full. ## How it works for members 1. They connect their Telegram account to Guild. 2. When they qualify, they press **Join Group**. Guild creates an invite link for them, and **Open Telegram** takes them in. 3. When they lose the role, or leave the guild, the bot removes them from the group. > [!TIP] > Make the group private. Anyone who has the link to a public group can join it without going through Guild. The admin's **Telegram** page lists your groups and their rewards. Source: https://new.guild.xyz/docs/rewards/telegram --- # Points > Award points and run leaderboards. A points reward adds points to a member's balance in one of your point systems when they get a role. Points live on Guild, each point system has its own leaderboard, and balances can unlock further roles. ## Create a point system The first points reward asks you to create a point system. Give it a name, such as "XP" or "Guild Points", and optionally an icon (PNG, JPG or SVG, up to 5 MB). You can run one point system across the guild, or several for different campaigns. Manage your point systems, balances and leaderboards in the admin's **Points** module. ## Add a points reward 1. In the admin panel, open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **Points**, then pick a point system or create one. 3. Choose how many points the role gives: - **Static**: a fixed amount, such as 50. - **Dynamic**: an amount calculated from a member's data. Today the source is a native coin balance, multiplied by a rate you set and rounded down. For example, 10 points per 1 ETH held. 4. Optionally open **Advanced: Override platform defaults** to change, for this reward only, what happens to the points in the cases below. 5. Press **Add reward**. Members claim the points from the role's reward card once they qualify. A role's points reward has no time window: members can claim it whenever they qualify. To pay points only between two dates, for a campaign or a season, use a [quest](/docs/guides/quests) instead. A quest pays its points only inside its start and end, and a quest leaderboard ranks the points earned in a window of its own. ## When points are kept or deducted Every point system has three settings, and each reward can override them: | Setting | Default | |---|---| | **When user loses role access** | Keep | | **When user leaves guild** | Deduct | | **When reward is deleted** | Keep | Points are kept as an append-only ledger, so a deduction is a new negative entry and the history stays complete. A member can't claim the same reward twice while their earlier claim stands. If their points for it were deducted, for example because they lost the role, they can claim it again once they requalify. ## Use points - **Progression**: require a points balance for higher roles with a [points requirement](/docs/requirements/points). - **Leaderboards**: every point system has one, counting all of its points. Pro and above can export it. For a leaderboard over a fixed window, such as a 30-day campaign with prizes, create a [quest leaderboard](/docs/guides/quests#leaderboards-and-prizes). - **Quests**: pay points for completing a set of tasks, once per member and only inside the quest's dates. See [Run quests](/docs/guides/quests). - **From your own code**: grant or deduct points, read balances and the leaderboard through the [REST API](/docs/api). Source: https://new.guild.xyz/docs/rewards/points --- # Secrets > Show a code, link or message to holders. A secret reward shows hidden text only to members who hold the role: a coupon code, a private link, an early announcement, instructions for the next step. ## Set it up 1. In the admin panel, open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **Secret**. 3. Optionally upload an image, and give the secret a title, such as "Discount code" or "Beta access link". Members see the title and image before they qualify, so don't put the secret there. 4. Write the secret in **Secret Text**. You can format it with bold, lists and links. 5. Press **Create Secret Reward**. ## How it works for members Members see the secret's title, locked, until they hold the role. Then they press **Reveal Secret** to read it, and **View Secret** to read it again later. ## Gotchas - Once a member has revealed a secret, they've seen it. Losing the role later doesn't take back what they read, so treat a revealed secret as handed out. - Everyone who holds the role sees the same text. For codes that must be unique per person, hand them out another way. - Guild stores the secret text encrypted and shows it only to members who have claimed it. ## Examples - **Merch discount**: "Holder discount", text `HOLDER-2026` with a link to your shop. - **Private call**: "Next community call", text with the meeting link and time. Source: https://new.guild.xyz/docs/rewards/secrets --- # NFTs > Let members mint an NFT for their role. An NFT reward deploys an NFT collection for a role, and lets members who hold the role mint one to their wallet. Use it for proof of participation, collectibles, credentials and onchain badges. ## Create the NFT 1. In the admin panel, open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **NFT**, then **Create new NFT reward**. 3. Upload the image or video (JPG, PNG or MP4, up to 100 MB; square works best). 4. Enter a **Name**, and optionally a **Metadata description** and attributes with **Add attribute**. 5. Pick the **Chain**. Only chains where Guild's NFT contract is available are listed; see [Supported chains](/docs/chains). 6. Set a **Price**, or leave it at zero for a free mint. Collectors also pay a small Guild fee on top, shown under the price. Set the **Payout address** that receives the mint price. 7. Under **Availability**, choose **Non-transferable** (soulbound) or **Transferable**. 8. Optionally switch on **Limit supply** to cap the total number of NFTs and how many each member can collect. First come, first served. 9. Press **Create NFT reward**. Your wallet asks you to sign the transaction that deploys the contract, on the chain you picked. NFT rewards you've created before are listed under **Available NFT rewards**. Each NFT reward belongs to a single role. ## How it works for members Members who hold the role press **Collect NFT** and mint it to their wallet. Minting is an onchain transaction, so they pay gas, plus the price and fee if you set one. ## Gotchas - An NFT is permanent. A member who loses the role keeps the NFT they minted. - The chain can't be changed after the contract is deployed. - Limiting the claiming time isn't available yet. Source: https://new.guild.xyz/docs/rewards/nft --- # Forms > Let members fill out a gated form. A form reward lets members who hold a role fill out one of your gated forms: applications, surveys, sign-ups for an event, feedback from holders only. You build the forms in the admin's **Forms** module and read the responses there. Forms are part of the Pro plan and above. See [Plans](/docs/plans). ## Create the form 1. In the admin panel, open **Forms** and create a form with the questions you need. 2. Optionally set **Submissions per member**. 0 means unlimited, and rejected responses don't count toward the limit. ## Gate it with a role 1. Open **Roles**, select the role that should be able to fill out the form, and under **Unlocks** press **Add reward**. 2. Pick **Form (v2)**. 3. Under **Choose a form**, pick the form. Only forms that aren't linked to a reward yet are listed. If there are none, **Create new form** takes you to the **Forms** module. 4. Decide on **Automatic approval**. On, every submission is approved immediately. Off, submissions wait for you to approve them. 5. Press **Add form reward**. ## How it works for members Members who hold the role see **Open form** on the reward card and fill it out. Members without the role see it locked. If they lose the role, they can no longer fill out the form. ## Review responses In **Forms**, open the form to see its **Responses**. **Approve** or **Reject** each one when approval isn't automatic, and download them from **Export responses**. ## Turn a response into a role Pair a form with the **Submitted a form** requirement to make applications unlock a role. Only approved submissions count, so with **Automatic approval** off you decide who gets in. For example: a public "Applicants" role unlocks the "Apply to Core" form, and the "Core" role requires **Submitted a form** for it. See [Guild activity requirements](/docs/requirements/guild). Source: https://new.guild.xyz/docs/rewards/forms --- # Voting rights > Give roles a say in proposals the guild decides together. A voting rights reward lets the members of a role take part in the decisions your guild makes together. Members vote on proposals: where to spend the treasury, which feature to build next, who joins the core team. Votes come from roles, so the people you already trust through requirements are the people who decide. ## What voting rights are Each voting rights reward carries a number of **votes** (its weight, from 1 to 1,000,000) and an option for whether holders can **create proposals**. The reward is granted with the role and taken back when the role is lost, like a permission. There is nothing for members to claim, connect or pay. ## Add voting rights to a role 1. In the admin panel, open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **Voting rights**. 3. Under **Votes per member**, set the weight, for example 1 for a member and 5 for a core contributor. 4. Turn on **Members with this role can create proposals** if holders may start proposals of their own. 5. Press **Add voting rights**. The role card then shows the reward as, for example, "5 votes". A **Votes** link appears in the guild's sidebar once any role carries voting rights. ## How votes add up A member's voting power is the sum of the votes of every voting rights reward they hold. A member with the "Member" role (1 vote) and the "Core" role (5 votes) has 6 votes. If they lose the "Core" role, their power drops to 1. Admins and owners can always create proposals, but they only vote with the rights their roles give them. Power is measured when a vote is cast or changed, and the weight is stored with that vote. Results don't move later if roles change. ## Proposals Anyone who can create proposals starts one from the **Votes** page with **New proposal**. A proposal has: - a **title** and a **description**, written in Markdown; - two to ten **choices**; - a **method**: **Single choice** (each member picks one choice) or **Approval** (each member picks any number of choices, and every pick receives their full vote); - when it **opens** (now, or at a time you choose) and when it **closes**: one to 90 days after it opens; - an optional **quorum**, the minimum total votes for the result to count; - optionally, which voting rights **count**. By default every voting rights reward of the guild does. Pick some to let only those roles decide; - when **results** are visible. A proposal is **Upcoming** until it opens, **Open** while members can vote, and **Closed** afterwards. The author or an admin can edit a proposal until it opens, and cancel it while it is upcoming or open. Cancelling keeps the votes already cast. Admins can delete upcoming or cancelled proposals. ## Voting Members with voting power open a proposal, pick their choice and press **Vote**. The page says how many votes theirs will carry before they press. While the proposal is open they can use **Change vote** to replace their vote, or **Withdraw vote** to take it back. Only their latest vote counts. Members without voting rights see the proposal and its results but can't vote, and a note points them to the roles that carry voting rights. ## Results - **Live**: everyone sees the tally while voting is open. - **After voting closes**: choices and weights stay hidden until the proposal closes. The number of voters is always shown. Results are bars by weight, with each choice's share, votes and voters. When a proposal closes it shows the winner. If two choices tie, both win. If a quorum is set and the total votes fall short, no choice wins and the page says the quorum wasn't reached. > [!NOTE] > Votes are public. Once results are visible, anyone who can see the proposal can see who voted for what, and with how many votes. There are no secret ballots. ## For guild admins Admins manage proposals from **Proposals** in the admin panel, next to the other modules. Proposals are listed as **Open**, **Upcoming** and **Closed**, newest first; the closed list loads 100 at a time, with **Load more** for older ones. A proposal moves from Upcoming to Open and from Open to Closed at its own time, without reloading the page. Each proposal offers what its state allows: - **Open** (or **View results**) takes you to the proposal page, with its results and voters. - **Edit** until it opens. - **Cancel proposal** while it is upcoming or open. The votes already cast are kept. - **Delete** while it is upcoming or cancelled. **New proposal** creates one, the same way the **Votes** page does. ## Gotchas - Voting rights only count while the member is in the guild. A member who leaves can't vote, and their power goes with their roles. - Changing a role's requirements changes who holds its voting rights, and so who can vote on open proposals. Their votes already cast stay. - Voting is for decisions inside Guild. It doesn't run anything onchain, and token balances don't weigh in directly. To weigh votes by holdings, create roles with token requirements and give each its own voting rights. Source: https://new.guild.xyz/docs/rewards/voting --- # Profile items > Give roles avatar frames and effects made for your guild. A profile item reward gives the members of a role an avatar frame or a profile effect made for your guild. Members wear it on their profile and next to their name in chat, so a role shows even when they're not in your guild's space. ## What a profile item is Each item is either an **avatar frame**, drawn around a member's picture, or a **profile effect**, a short animation that plays when their profile opens. You make the items on the **Profile items** page in the admin panel, then give them out as rewards. Members who hold the role can wear the item; a member who loses the role stops wearing it. ## Make an item 1. In the admin panel, open **Profile items** and press **New item**. 2. Choose **Avatar frame** or **Profile effect**. 3. Pick **Guild starter art**, then pick a **colour** from your brand colours, a hex code or the colour picker. The preview updates as you choose. 4. Name it and press **Create item**. Starter art and recolouring are free for every guild, up to 50 items. ## Upload your own art Guilds on a paid plan, or boosted by Guild Plus members, can also upload a PNG, WebP or GIF as an item. Uploaded items use **custom art slots**. Boost levels add slots: 5 at level 1, 15 at level 2 and 30 at level 3. If you're out of slots, archive an item or raise your plan or boost level. Items already made stay if the level later drops, but new uploads wait until there's room. ## Give an item as a reward 1. Open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **Profile item**. 3. Choose one of your items and press **Add profile item**. Granting is automatic once a member holds the role. There's nothing to claim. ## When the role is lost Losing the role takes the item off the member's profile. If another role they hold gives the same item, they keep wearing it. ## Gotchas - Archiving an item stops new grants. Members who already wear it keep it until they lose the role. - Uploaded art is shown at a small size next to names. Keep the middle clear and the details bold. Source: https://new.guild.xyz/docs/rewards/profile-item --- # Permissions > Unlock pages, or let members manage parts of the guild. A permission reward lets the members of a role see something in your guild that others can't: a page or space, or a hidden role, reward or requirement. Gated pages are the main use: a holders-only feed, a chat for contributors, an announcements space for paying members. ## Unlock a page or space The quickest way is from the page itself: 1. In the admin panel, open **Spaces & roles**, pick the space in the **Space** menu and press **Space settings**. 2. Under **Who can see it**, choose **Role holders** and pick the roles that unlock it. 3. Press **Save**. Guild adds the page's permission reward to each role you picked, and members see the page among the role's rewards. See [Pages and spaces](/docs/spaces). ## Add a permission reward to a role 1. In the admin panel, open **Spaces & roles**, select the role, and under **Unlocks** press **Add reward**. 2. Pick **Permission**. 3. **Permission type** is **Can view...**. 4. Pick what it applies to: the **Guild**, a **Page**, a **Role**, a **Reward** or a **Requirement**, and then which one. 5. Press **Add permission**. ## How it works for members Permission rewards are granted automatically while a member holds the role. Nothing needs claiming. When they lose the role, the permission goes with it, and the page or item is hidden from them again. ## Gotchas - Today permission rewards grant view access only. Letting role holders edit parts of the guild is not offered. - A view permission is only meaningful for something hidden from everyone else. Set the item's own visibility first, for example a role's **Who can see it** in its inspector. Source: https://new.guild.xyz/docs/rewards/permissions --- # Pages and spaces > Pages, feeds, announcements and chat inside your guild. Your guild's pages appear as spaces in the guild's sidebar. A page can list roles, stay open to everyone or lock behind roles, and it can also be a place to talk: a feed, announcements or a chat. ## Pages in the sidebar Every guild starts with a **Home** page, and it is the first space in the sidebar. Other pages follow, grouped by the role that unlocks them. A page a member can't open yet stays in the sidebar with a lock, and opening it shows what unlocks it. You manage pages in the admin panel under **Spaces & roles**. Open the **Space** menu to switch pages, add one with **New space**, or change their order by dragging them in the sidebar's **Spaces** list. At the top of a page: - The audience button, for example **Everyone can see it**, sets who can see the page. See [Who can see a page](#who-can-see-a-page). - **Edit** changes the page's name, URL, description and cover. - **Open** shows the page as members see it, in a new tab. - The **More actions** menu has **Copy link** and **Delete space**. Below them, the **Space** card sets whether the page is a plain page or a feed, announcements or a chat, and the **Layout** card sets how it looks. The page's roles are listed on the same screen, where you add, edit and reorder them. A role can be on more than one page. Deleting a page also deletes its posts if it is a space. Its roles stay in your guild and on any other page they're on. ## Who can see a page Under **Who can see it**, pick one: - **Anyone**: everyone, including visitors who haven't signed in. - **Role holders**: members with one of the roles you pick. Everyone else sees the page locked. - **Admins only**: only guild admins can open it. Members never see it. When you pick **Role holders** and save, each role you picked gets a **View page** reward for this page. It is the same Permission reward you can add yourself under a role's **Unlocks**, so you can gate a page from either place. See [Permission rewards](/docs/rewards/permissions). ## Space kinds Under **Space**, choose what the page is: - **Page**: its roles and rewards. No posting. - **Feed**: posts with a title, replies and reactions. Good for sharing and discussion. - **Announcements**: news from your team that members read. Replies are optional. - **Chat**: a live room of short messages, quotes and threads. Spaces support threads and replies, reactions, image attachments and @mentions (type @ to search members who can read the space, in the composer and when editing). Members get a notification when someone mentions them or replies to them, and announcements reach members in the channels they chose. See [Notifications](/docs/notifications). > [!WARNING] > Turning a feed, announcements or chat back into a plain page deletes every post, reply and reaction in it for good. Its roles and rewards stay. If the **Space** section says spaces aren't switched on for your guild yet, the page stays a page of roles for now. ### Who can post For a feed, announcements or chat, choose **Who can post**: - **Members**: everyone who has joined the guild. - **Roles with write access**: members whose role has an **Edit page** reward for this page (in Roles, add a Permission reward, choose **Can edit…** and then this page). Until a role has one, only moderators can post. - **Moderators**: guild admins and the moderator roles you pick under **Moderation**. Posting always needs a signed-in member who can see the page. **Allow replies** lets members who can't post still reply in threads, or comment on announcements. **Slow mode** sets how long a member waits between messages; moderators are exempt. ## Layouts The **Layout** card sets how members see a space. Pick a layout and it saves at once; **Preview** opens the space as members see it. Change the kind under **Space** and save it first, then pick from that kind's layouts. A feed, announcements or a chat has three message layouts each. The first is the default. | Kind | Layout | What it looks like | |---|---|---| | Chat | **Classic** | Avatars and names, messages grouped | | Chat | **Bubbles** | Like a messenger: yours on the right | | Chat | **Compact** | One dense line per message | | Feed | **Cards** | Full posts, one after another | | Feed | **Threads** | Upvotes, sorting, titles first | | Feed | **Gallery** | Pictures first, in a grid | | Announcements | **Bulletin** | Big cards, grouped by day | | Announcements | **Changelog** | A dated timeline to read through | | Announcements | **Magazine** | The latest up front, the rest below | A layout changes only how the space looks. Its posts, replies and reactions stay as they are when you switch. A plain page lays out its roles instead: **List**, **Cards**, **Grid**, **Path**, **Spotlight** or **Compare**. **Customize** fine-tunes the chosen layout. ## Moderation Open **Moderation** in the admin panel to keep your spaces healthy. It has four tabs. - **Reports**: messages members have reported. **Remove message** deletes the message and closes the report; **Dismiss** only closes it. - **Restrictions**: who is muted or banned, in one space or in every space, and for how long. A muted member can read and react but not post or reply. A banned member can't read the space at all. You can lift a restriction early. - **Log**: every deletion, pin, mute, ban and settings change. Entries are never erased. - **Settings**: your **Moderator roles** and the **Word filter**. Moderators who are not admins don't need the admin panel: the **Moderation** button in a space's header opens the same Reports, Restrictions and Log for the spaces they can read, with a count of open reports (also shown in the sidebar). Each report and log entry has **View in context**, which jumps to the message. Moderators are notified of new reports in their inbox. You can also **Mute** or **Ban** a member from their profile card, and a muted or banned member's composer updates immediately. Members with a moderator role can delete, pin, lock, mute and ban in every space. Admins and the owner always can. Moderators act from a message's menu: **Pin message**, **Lock thread**, **Delete message**, **Mute author** and **Ban author**. Any member can use **Report message**. The word filter refuses messages that contain a listed word or phrase, with a note to the sender. It matches whole words, ignores case and applies in every space. Moderators bypass it. You can test a sentence against the filter before you save it. Source: https://new.guild.xyz/docs/spaces --- # Members and analytics > Your member directory and exports, campaign analytics and the audit log. Three parts of the admin panel tell you about the people in your guild: **Members** lists who they are and exports them, **Analytics** shows how your pages and roles perform, and **Audit log** records what members and admins did. All three treat each page of your guild as a **campaign**: the page with the roles on it. A new page shows up as a campaign on its own. ## Members **Members** is the member directory. Each row shows the member, their **Current roles**, the **Rewards claimed**, their **Country** and when they **Joined**. Sort by join date with **Newest members first** or **Oldest members first**. ### Choose an audience Pick one filter at a time: - **All members**: everyone in the guild. - **Campaign**: members who hold any of a page's roles right now. - **Roles**: members who hold all the roles you pick. - **Rewards**: members who claimed all the rewards you pick. - **Country**: members from any of the countries you pick. - **Identity search**: find members by wallet, username or email. The filter is kept in the page's address, so you can share a link to the same audience with another admin. With a campaign selected, **Campaign activity** opens its events in the audit log, and **Campaign analytics** opens its numbers in **Analytics**. ### Member details Select a member to see their details: when they joined, the roles they hold, and the rewards linked to those roles, each marked **Claimed** or **Not claimed**. On the free plan, members are shown by their wallets only. Their connected Discord, X, GitHub and other accounts are shown on Pro and above. See [Plans](/docs/plans). ### Export members Press **Export audience**, check what the export will include, and press **Export CSV**. The export runs in the background; download it with **Download CSV** when it's ready. **Recent exports** lists earlier exports with the filters each one used. Each download stays available for 24 hours. You can export all members, a campaign, roles, rewards or countries. Search results can't be exported. Exports include connected accounts such as Discord, X and GitHub on the Growth plan and above. ## Analytics **Analytics** needs the Pro plan or above. Pick a period of **7 days**, **30 days** or **90 days** at the top, then one of two views. ### Campaigns **Campaigns** compares your pages. For each one it shows: - **Visitors**: how many browsers opened the page. A visitor is a browser, not a Guild account. - **Page views**: how often the page was opened. - **Unique role earners**: members who got any of the page's roles in the period. - **Role unlocks** and losses: how often its roles were gained and lost. A member who gains a role twice counts twice. - **Current role memberships**: how many members hold the page's roles now, with each role counted on its own. Search pages and roles by name, filter by **Published**, **Hidden** or **Gated**, and sort by **Newest first**, **Most role earners** or **Most visitors**. **Export CSV** downloads the comparison. Press **Details** on a campaign for **Role performance**, what members earned and lost per role, and **Campaign rewards**, the claims in the period. From there, **View members** opens the campaign's audience in **Members**, and **View activity** opens its events in the audit log. A role can be on more than one page, so don't add campaigns up: one member can count in several. Reward claims are shown only for rewards that belong to a single page. ### Community **Community** covers the whole guild: **Guild members** shows membership, joins and leaves over time, **Visitors & active members** sets unique visitors against members who took part, and **Reward claims** shows what members claimed in the period. ## Audit log The **Audit log** has two tabs: - **Member activity**: memberships, roles and rewards. For example joining or leaving the guild, getting or losing a role, claiming a reward, points added or deducted, connecting an account and submitting a form. - **Admin actions**: changes to the guild and admin actions. For example creating, editing and deleting roles, changing guild settings, granting points, creating API keys and exporting members. Filter by **Period**: the last 24 hours, 7, 30 or 90 days, or **Custom dates** up to 90 days. On **Member activity** you can also pick a **Campaign** to see only events about that page's current roles. Joins and rewards shared between pages can't be tied to one campaign, so they don't show there. Pick an **Event** to see one kind. Times are in your local time. The newest page refreshes every 30 seconds. Use **Older** and **Newer** to page through, and select an event for its details: who did it, what it affected and when. The log shows recorded events, not unique people: the same role access can be recorded more than once, and identical recordings are grouped. Source: https://new.guild.xyz/docs/members-and-analytics --- # Get verified > Make your guild visible and searchable on Guild. A verified guild shows a verified badge across Guild and is listed in the explorer. Guilds that aren't verified can still be found by searching for their name. > [!WARNING] > Verification is not a guarantee. Projects change, and Guild can't prevent every misuse of the platform. Always do your own research before you join a community or claim rewards. ## What we look for - **An authentic project.** We check the project's official social accounts, such as X and Discord, and other public information to confirm the project is real and established. - **A complete guild.** The guild is fully set up, with roles, requirements and rewards, and ready for the public. We only verify guilds that are ready to use. - **A public launch.** The project has announced its guild on its official social channels. Only the guild's admins can request verification. ## How to request it 1. Join the [Guild Discord](https://discord.gg/KUkghUdk2G) and open a support request. You can also reach it from **Discord support** in the Guild menu. 2. Share your guild's URL. 3. Share a link to the public announcement of your guild's launch. If you already have a group chat with the Guild team, you can ask there instead. We review each request on its own. We may approve or decline a request without a detailed explanation, and we may remove a guild's verified status at any time if the project changes or problems come up. ## Report a suspicious guild If you come across a guild that looks like a scam or impersonates a project, report it to the team in the [Guild Discord](https://discord.gg/KUkghUdk2G). Source: https://new.guild.xyz/docs/verification --- # Boosts > Lift a guild with Guild Plus and unlock perks for everyone. Boosts let Guild Plus members lift the guilds they love. A guild with enough boosts reaches a **level** and unlocks perks for everyone in it. ## Giving a boost Plus members have boost slots (one on monthly, three on annual). Press **Boost** on a guild's header, pick a slot and confirm. Your boost is public: it shows beside your name in that guild. - **Moving a boost.** You can move a slot to another guild. After you place or move it, the slot is locked for **7 days**, and the dialog shows the date. - **Releasing a boost** frees the slot. The 7-day wait applies before you place it again. - **If Plus lapses**, your boosts stop counting. A level that falls is held for 72 hours before it drops. ## Levels and perks | Level | Boosts | Perks | |---|---|---| | 1 | 2 | Boosted badge and Explore lift, uploads up to 20 MB, 5 more custom item slots | | 2 | 7 | Animated banner, 10 custom emoji, uploads up to 35 MB, 15 more slots | | 3 | 14 | Vanity link, 30 custom emoji, uploads up to 50 MB, 30 more slots | Boosted guilds are lifted in Explore's top list, up to six at a time, ordered by level. ## For guild admins Open **Admin, Boosts**. Upload an animated banner, add custom emoji that members can react with in your spaces, claim a vanity link at Level 3, and restore the **Booster** role if it was deleted. The Booster role is given automatically to people who boost. Its requirement is locked because that is how boosting grants it. Source: https://new.guild.xyz/docs/boosts --- # Referrals > Invite links, a leaderboard and role rewards for members who invite. Referrals let your members grow the guild for you. Each member gets a personal invite link, and when someone joins through it the member gets the credit. You reward the best inviters with roles, the same way you reward anything else. Guild never pays cash for referrals. ## Turn it on 1. Open **Admin, Referrals**. 2. Switch on **Turn on referrals**. Every member now sees an **Invite friends** card in the guild, with their own link. 3. Optionally switch on **Only verified people count**. An invite then counts only once the person who joined holds the [Verified person](/docs/verified-person) badge. Use it when you reward referrals with something worth farming. Turning referrals off hides the card and the leaderboard. Invites already recorded are kept and count again if you turn it back on. ## Reward referrers Rewards use the roles you already have: 1. Create a role, or open one you already have. 2. Under **Who gets it**, add the **Invite members** requirement from the **Guild** group, and set **Members to invite**. 3. Attach any reward, such as [points](/docs/rewards/points), a [Discord role](/docs/rewards/discord) or a [Telegram group](/docs/rewards/telegram). Stack roles for tiers: "Recruiter" at 3 invites, "Ambassador" at 10. A member who doesn't meet the requirement yet sees a **Get your invite link** button on the role. ## Invite friends While referrals are on, open the guild and find **Invite friends**. Copy or share **Your invite link**. It looks like `guild.xyz/your-guild?ref=abcd2345`. The card shows: - how many people joined through your link, and how many of them don't count yet and why, - your place on the leaderboard, - the top five inviters. Someone who opens your link before signing in is still credited. Guild remembers the link for 30 days on that device, so it counts once they sign in and join. ## What counts An invite is credited when all of these are true: - referrals are on for the guild, - the link is for this guild, - the person who joined is not you, - you are still a member, - it is their **first** time joining the guild. A credit counts only while the person you invited stays a member (and, with **Only verified people count** on, holds the badge). Leaving and rejoining never gives a second credit, to you or to anyone else. A broken or unknown link never stops anyone from joining. It just doesn't credit anyone. ## The leaderboard **Admin, Referrals** shows the full leaderboard, and members see the top five on their card. It ranks members by how many of their invites count. On a tie, whoever reached that count first ranks higher. Only people with at least one counted invite appear. The leaderboard shows only each person's rank, count, name and avatar, never their accounts, wallets or email. Below it, **Who invited whom** is for admins only. It lists inviters with the most invitations first, and under each the people they invited: when, whether they are still a member, whether they are verified, and whether the invitation counts. An inviter whose invitations mostly do not count (people who never verify, or who left) is the sign of farming. Members never see this list. ## Gotchas - **Counts can lag briefly.** When someone loses their last role and is removed from the guild automatically, their inviter's count updates at the next refresh rather than straight away. When someone gains, loses or runs out of the Verified person badge, the people who invited them in guilds that count only verified invites are updated within moments. The leaderboard itself is up to 15 seconds behind. - **Past members can count.** Guild has no record of memberships from before referrals existed, so someone who left your guild before then and rejoins through a link is treated as joining for the first time. - **Inviters who leave** keep their recorded invites and stay on the leaderboard, but can't earn new ones until they rejoin. Source: https://new.guild.xyz/docs/referrals --- # Launches > A coming soon page with a countdown, waiting list and early access. A guild that has not opened yet can show a **coming soon** page with a countdown, a waiting list and early access for Guild Plus members. ## For members On a coming soon guild you can: - **Notify me.** Get a message the moment it opens, in Guild and wherever you turned notifications on. Tick **Also email me** to get an email too. Control this under **Guild launches** in your notification settings. - **Pre-register** with Guild Plus. You get a reserved low number, shown as **You're #42**, a Founding member badge and **early access** before the doors open to everyone. When early access starts, press **Join now**. Free members see what pre-registering gives and a link to Plus. Guilds you asked to hear about or pre-registered for are listed under **Your upcoming guilds** in your account, with your reserved number and how long is left. On **Explore**, a **Pre-registered** tag marks them in the Coming soon shelf. ## For guild admins Open **Admin, Launch**. 1. Set the opening date, or write your own words such as "Early December". 2. Choose how many hours of early access pre-registered members get. 3. Under **Reserved numbers**, pick a numbered role and press **Hold #1 to #100**. Those numbers go to pre-registrations, in order, and nobody else can take them. 4. Upload a **Banner** for the page if you like (PNG, JPEG, WebP or GIF; your guild cover is used when empty). 5. Watch the counts and the pre-registered list. It loads 50 at a time (**Load more**), and **Export CSV** downloads all of it: name, profile, reserved number, joined or waiting, and when they registered. 6. **Launch now** opens the guild early. **Cancel launch** takes the page down. Until the guild opens, visitors see the landing page. Admins see the real guild with a **Coming soon, preview** banner. A guild that already has members cannot be set to coming soon. Upcoming guilds are listed on **Explore** under Coming soon. Source: https://new.guild.xyz/docs/launches --- # Plans > What each plan includes. Every guild can start on the free plan, with roles, requirements, rewards and pages. You need a paid plan for features such as hidden, secret and self-revealing roles, more admins, member analytics, forms, custom API requirements and higher API access. To upgrade, open your guild's admin panel and choose the plan card at the bottom of the sidebar. It shows your current plan and leads to the plans. When you create a guild, the last setup step also offers a paid plan with a 7-day free trial. You can compare plans on the [pricing page](/pricing) at any time. If a payment fails, the plan card says so and takes you to **Guild details**, where you can update your payment method. ## Plans at a glance | Plan | Price | For | | --- | --- | --- | | **Free** | Free | Everything you need to gate a community. | | **Starter** | $29 / month, or $290 / year | Get key community management features | | **Pro** | $99 / month, or $990 / year | Get more with advanced features and customization | | **Growth** | $399 / month, or $3990 / year | Scale your community and get deeper insights | | **Enterprise** | Contact us | Custom solutions tailored to your needs. | ## What each plan adds Every plan, Free included, can use every reward and every requirement type except those a feature below unlocks. This is what each plan adds: | Feature | Free | Starter | Pro | Growth | Enterprise | | --- | --- | --- | --- | --- | --- | | Role and page visibility settings | | ✓ | ✓ | ✓ | ✓ | | Hidden roles, pages, rewards and requirements | | ✓ | ✓ | ✓ | ✓ | | Secret roles, pages, rewards and requirements | | ✓ | ✓ | ✓ | ✓ | | Unlimited admin seats | | ✓ | ✓ | ✓ | ✓ | | Member CRM with connected accounts | | | ✓ | ✓ | ✓ | | Growth analytics | | | ✓ | ✓ | ✓ | | Gated forms | | | ✓ | ✓ | ✓ | | Roles visible only to their holders | | | ✓ | ✓ | ✓ | | Custom API call requirements | | | ✓ | ✓ | ✓ | | Points and leaderboard exports | | | ✓ | ✓ | ✓ | | Points through the REST API | | | ✓ | ✓ | ✓ | | Priority support | | | ✓ | ✓ | ✓ | | REST API, 60 requests a minute | | | ✓ | | | | Member exports with connected accounts | | | | ✓ | ✓ | | REST API, 120 requests a minute | | | | ✓ | ✓ | Compare prices and subscribe on the [pricing page](/pricing). Source: https://new.guild.xyz/docs/plans --- # Case studies > How projects have used Guild. How projects have used Guild to launch, grow and reward their communities. Each case study is published on the Guild blog. - [Magic Newton](https://paragraph.com/@guild/483000-reasons-to-use-guild-inside-magic-newtons-bullish-launch): how Magic Newton used Guild for its launch. - [Ink](https://paragraph.com/@guild/how-ink-built-a-160k-strong-community-from-scratch-using-guild): how Ink built a community from scratch with Guild. - [Reown](https://paragraph.com/@guild/reown-launching-a-new-project-on-guild-more-members-than-x-followers-hype-title): launching a new project on Guild, with more members than X followers. - [Merchant Moe](https://paragraph.com/@guild/guild-merchantmoe-case-study): how Merchant Moe uses Guild for its community. Source: https://new.guild.xyz/docs/case-studies --- # Token-gating and community tools compared > Guild, Collab.Land, Vulcan, Matrica, Galxe, Zealy, Layer3, MEE6 and Combot side by side: what each does, Discord and Telegram support, chains and starting prices. Tools that token-gate Discord and Telegram, or reward community members, do one of four jobs. Holder-verification bots (Collab.Land, Vulcan, Matrica) give roles to people who hold a token or NFT. Quest platforms (Zealy, Layer3, and Galxe until its shutdown in December 2026) reward people for completing tasks. General community bots (MEE6, Combot) moderate and run a server or group. Guild is access management: roles whose requirements can mix holdings, onchain activity, social accounts and points, which give and take away Discord roles, Telegram groups and gated pages as members qualify or stop qualifying. For how communities actually configure gating (which requirements, chains and platforms they use), see [State of token-gated communities 2026](/docs/research/state-of-token-gating-2026). This page summarises the comparison pages listed below. Facts about each product come from its own site, docs and pricing, as of November 2026; each comparison page lists its sources. ## At a glance | Tool | What it does | Discord | Telegram | Chains | Price to start | |---|---|---|---|---|---| | **Guild** | Roles with requirements that unlock Discord roles, Telegram groups, points and gated pages | Yes | Yes | 50 EVM mainnets | Free plan; Starter $29 a month | | [Collab.Land](/docs/compare/collab-land) | Holder verification bot, priced by verified members | Yes | Yes | 40+, including Solana, TON and Bitcoin NFTs | Free up to 25 verified members, then from $17.99 a month | | [Vulcan](/docs/compare/vulcan) | Holder verification bot that reuses wallets already proved on OpenSea or PREMINT | Yes | No | 28 EVM chains | Free up to 100 verified members, then from $20 a month | | [Matrica](/docs/compare/matrica) | Holder verification with NFT trait, status and royalty rules | Yes | Yes | Solana, Bitcoin, Ethereum, Base, Polygon and others | From $99 a month; no free plan listed | | [Galxe](/docs/compare/galxe) | Quest campaigns; shutting down: no new campaigns since 9 November 2026, last campaign day 5 December 2026 | Tasks and role rewards | Tasks | EVM and some non-EVM | No new campaigns or subscriptions | | [Zealy](/docs/compare/zealy) | Quest board with XP, leaderboards and sprints | Tasks and role rewards | Tasks | EVM tasks | Free up to 100 members; Standard from $149 a month | | [Layer3](/docs/compare/layer3) | Paid user acquisition: Activations that pay users in tokens | Tasks only | Tasks only | EVM and Solana | No public prices; projects stake L3 | | [MEE6](/docs/compare/mee6) | General Discord bot: moderation, XP levels, reaction roles | Yes | No | Web3 Gating add-on: Ethereum and Polygon | Premium €11.99 a month per server | | [Combot](/docs/compare/combot) | Telegram moderation, anti-spam and analytics | No | Yes | No token gating listed | Free; Pro €9.99 a month | "Tasks" means the platform checks that a member joined a server or group as one step of a quest; it does not manage who stays in. ## Which one fits - **You gate by more than holdings.** If a role should ask for a token and an X follow, a Discord role, a GitHub account, a first transaction before a date or a points balance, Guild combines them with **All**, **Any one** or **Some**. The verification bots check holdings only. See [Requirements](/docs/requirements). - **Your token is on Solana, TON or Bitcoin.** Guild's onchain requirements work on EVM chains only. Collab.Land and Matrica cover those chains. - **You gate by NFT traits.** Collab.Land, Vulcan and Matrica check traits. Guild checks collections and token IDs; you can list the token IDs that carry a trait as **Multiple Token IDs**. - **Members should stay in Discord.** Collab.Land and Vulcan verify inside the server. With Guild, members connect accounts and claim roles on guild.xyz. - **You want campaign reach and token payouts.** Layer3 brings its own audience and pays rewards in tokens; Galxe did until it stopped taking new campaigns on 9 November 2026. Guild has no token payouts; it gives points, NFTs, roles and access to your own members. - **You want a quest board with prizes.** Zealy is built for that. Guild runs quests as roles, with points and leaderboards. See [Quests and campaigns](/docs/guides/quests-and-campaigns). - **You need moderation.** MEE6 (Discord) and Combot (Telegram) moderate, filter spam and track activity. Guild decides who gets in; it doesn't moderate chat. Many communities run one of them beside Guild. - **Your community is large.** Collab.Land and Vulcan price by verified members. Guild's prices are per guild, so growth doesn't move you to a higher plan. - **You want an AI agent to run it.** Guild's MCP server (beta) at `https://mcp.guild.xyz/mcp` lets Claude, Codex, Cursor and other agents create roles, requirements and rewards, free on every plan. See [Agents](/docs/agents). Combot also has an MCP server, for its moderation tools. ## Running more than one Most of these tools work side by side. Give each bot its own Discord roles, so two bots never manage the same role, and put the **Guild.xyz bot** role above every role Guild manages. A Guild role can also require a role another bot gives, through the **Discord member** requirement with **Role**: for example, a MEE6 level role or a Collab.Land holder role. See [Token-gate a Discord server](/docs/guides/token-gate-discord). ## If you used Galxe or Intract Galxe is winding down Galxe Quest, Galxe ID and Galxe Passport. Spaces can no longer create campaigns since 9 November 2026, the last day to take part in a campaign is 5 December 2026, and on 15 December 2026 reward claims close and the site turns read-only. See [Moving from Galxe to Guild](/docs/compare/galxe) for what carries over and how to rebuild your quests before then. Intract's quest platform closed earlier: Intract Quest gave its final day as 12 January 2026, and its project dashboard shows the same notice. To rebuild quests with points, Discord roles and Telegram groups, see [Quests and campaigns](/docs/guides/quests-and-campaigns) and [Run a points program and leaderboard](/docs/guides/points-and-leaderboards), or compare [Zealy](/docs/compare/zealy) and [Layer3](/docs/compare/layer3). ## FAQ **What is the best free token-gating bot for Discord and Telegram?** Guild gates both on its Free plan, with no limit on members. Collab.Land is free up to 25 verified members and Vulcan up to 100, Discord only. **Is Galxe shutting down?** Yes. Galxe announced on 9 November 2026 that it is winding down Galxe Quest, Galxe ID and Galxe Passport; campaigns end on 5 December 2026. See [Moving from Galxe to Guild](/docs/compare/galxe). **Which tools support Solana?** Collab.Land, Matrica and Layer3. Guild supports EVM chains only; see [Supported chains](/docs/chains). **Can I token-gate Telegram without a bot in the group?** No. Every tool that removes people from a Telegram group needs its bot in the group as an admin. Guild uses @Guildxyz_bot; see [Token-gate a Telegram group](/docs/guides/token-gate-telegram). **Do these tools remove a role when someone sells?** Holder-verification tools re-check on a schedule and remove roles from members who no longer qualify. Guild refreshes data in the background and removes the Discord role or Telegram access when a member stops meeting the role's requirements. Quest platforms generally keep a reward once it is earned. ## Sources Each comparison page lists the pages its facts come from: - [Guild and Collab.Land compared](/docs/compare/collab-land#sources) - [Guild and Vulcan compared](/docs/compare/vulcan#sources) - [Guild and Matrica compared](/docs/compare/matrica#sources) - [Guild and Galxe compared](/docs/compare/galxe#sources) - [Guild and Zealy compared](/docs/compare/zealy#sources) - [Guild and Layer3 compared](/docs/compare/layer3#sources) - [Guild and MEE6 compared](/docs/compare/mee6#sources) - [Guild and Combot compared](/docs/compare/combot#sources) - Galxe: [Galxe on X, 9 November 2026](https://x.com/Galxe/status/2119681030609105175) - Intract: [Intract Quest closing notice](https://web.archive.org/web/20260201145337/https://quest.intract.io/) (archived 1 February 2026) Source: https://new.guild.xyz/docs/compare/token-gating-tools --- # Guild and Collab.Land compared > How Guild and Collab.Land differ on Discord and Telegram gating, chains, points, AI agents and pricing, and when each is the better fit. Guild and Collab.Land both give Discord and Telegram members roles based on the tokens and NFTs they hold. Collab.Land is a bot that verifies wallets inside your server or group, and it covers more chains outside EVM, including Solana, TON and Bitcoin NFTs. Guild is a community home on guild.xyz: it checks onchain activity, social accounts and Guild activity as well as holdings, and it adds points, quests, gated pages and an MCP server for AI agents, with a flat price per guild that does not depend on member count. The Collab.Land details on this page come from its own site, docs and pricing page, as of November 2026. Check the [sources](#sources) for anything that may have changed. ## At a glance | | Guild | Collab.Land | |---|---|---| | What it is | A home for your community on guild.xyz: roles with requirements that unlock rewards and pages | A bot that verifies token holders in Discord and Telegram, managed from the Command Center | | Discord gating | Yes, on the Free plan: Guild's bot gives and removes Discord roles | Yes: members verify through a **Let's Go** button in the server | | Telegram gating | Yes, on the Free plan: Guild's bot lets members into private groups and channels and removes them | Yes | | Onchain requirements | 50 EVM mainnets: token and NFT balances, contract queries, wallet activity, EAS attestations; holding history on Ethereum and Base | 40+ blockchains, including Solana, Bitcoin Ordinals and Stamps, TON, Flow, NEAR, Tezos and XRPL; balance rules and NFT trait (attribute) rules | | Other requirements | X, Discord, Telegram, GitHub, Farcaster, YouTube, email, POAP, World ID, allowlists, scores, points and more | Its token gating rules check token balances and NFT attributes | | Points and quests | Point systems with leaderboards; quests are roles that combine onchain and social tasks | SmartTag, for tipping, rewarding and paying members in tokens in Discord | | AI agents | Guild MCP server (beta) at `https://mcp.guild.xyz/mcp`, free on every plan | Custom AI quiz agent on the Elite and Enterprise plans; Community AI Agents announced as in development | | Pricing | Free plan; Starter $29, Pro $99, Growth $399 a month per guild | Priced by verified members (holders with a gated role), one Discord server or Telegram group per subscription: free up to 25, then $17.99 (100), $35 (1,000), $149 (2,500), $449 (7,500), Enterprise on request; Telegram pricing is being updated | ## When to choose Guild - **You gate by more than holdings.** A Guild role can ask for a token balance and an X follow, a Discord role, a GitHub account of a certain age or a first transaction months ago, combined with **All**, **Any one** or **Some**. See [Requirements](/docs/requirements). - **You want quests and points.** Give points when members earn a role, rank them on a leaderboard, and let balances unlock further roles. See [Points](/docs/rewards/points). - **Your community is large.** Guild's prices are per guild and the pricing page lists unlimited members, so growth doesn't move you to a higher plan. - **You want an AI agent to run it.** Connect Claude, Codex, Cursor or another MCP client and ask it to create roles, requirements and rewards. See [Agents](/docs/agents). - **You want a home outside Discord.** Guild has pages, feeds, announcements and chat, open to everyone or locked behind roles. ## When to choose Collab.Land - **Your token lives outside EVM.** Guild's onchain requirements work on EVM chains only. Collab.Land lists Solana, TON, Bitcoin NFTs, Flow, NEAR, Tezos, XRPL and others. - **You gate by NFT traits.** Collab.Land's attribute rules check an NFT's metadata, such as a trait value. Guild checks collections and token IDs, not traits. - **You want members to stay in Discord.** Collab.Land's verification starts in the server. With Guild, members connect their accounts and claim roles on guild.xyz. - **Your community is small and only needs holder roles.** Collab.Land's Starter plan is free up to 25 verified members. You can run both: give each bot its own Discord roles. ## Moving from Collab.Land to Guild 1. Create a guild at [/create](/create). 2. In the admin panel, open **Spaces & roles** and choose **New role** for each Collab.Land rule. 3. Under **Who gets it**, press **Requirement** and pick **Token balance** or **NFT Balance**. Use the same chain, contract address and amount as the Collab.Land rule. For a staking contract, use a [contract query](/docs/requirements/contract-query). 4. Under **Unlocks**, press **Add reward** and pick **Discord**. Connect your server, invite the bot, and choose **Existing role** to keep the Discord role your members already know, or **New role**. Turn off the matching Collab.Land rule first, so only one bot manages that role. 5. In your server's settings, drag the **Guild.xyz bot** role above every role Guild manages. 6. For Telegram, add a **Telegram** reward, add @Guildxyz_bot to the group as an admin and paste the **Group ID** it posts. See [Telegram rewards](/docs/rewards/telegram). 7. Post your guild's link in the server. Members connect their wallets and Discord account on Guild and claim their roles. Keep any rule for a non-EVM token or an NFT trait on Collab.Land: Guild can't check those. ## FAQ **Is Guild a free alternative to Collab.Land?** Discord and Telegram gating are on Guild's Free plan. Paid plans add features such as hidden and secret roles, the member CRM, analytics and forms; see [Plans](/docs/plans). **Does Guild support Solana?** No. Guild's onchain requirements work on 50 EVM mainnets. See [Supported chains](/docs/chains). **Do members have to verify again?** Yes. Each member connects their wallets and their Discord or Telegram account to Guild once; after that Guild refreshes the data in the background and updates their roles. **Can an AI agent set up token gating in Guild?** Yes, through the Guild MCP server, in beta and free on every plan. A connection manages one guild, with the permissions you grant (Read, Manage, Member data, Moderation); agents can't create or delete guilds, and revoking a connection stops it within 15 seconds. ## Sources Collab.Land facts as of November 2026: - [Collab.Land home page](https://www.collab.land/) - [Collab.Land pricing](https://collab.land/pricing) - [Collab.Land Subscriptions](https://docs.collab.land/help-docs/key-features/bot-subscription/) - [Introducing Verified Member Pricing](https://blog.collab.land/introducing-verified-member-pricing-fair-plans-for-crypto-communities/) (11 November 2025) - [Token-Gated Communities](https://docs.collab.land/help-docs/key-features/token-gate-communities) - [Supported Blockchains and Wallets](https://docs.collab.land/help-docs/key-features/supported-blockchains-wallets/) - [Verify your wallet](https://docs.collab.land/help-docs/wallets/verify-your-wallet) - [SmartTag](https://docs.collab.land/help-docs/key-features/smarttag/) - [Introduction to Collab.Land's docs](https://docs.collab.land/help-docs/intro) - [Inside Collab.Land: The Long Road](https://blog.collab.land/inside-collab-land-the-long-road/) (12 March 2026) Source: https://new.guild.xyz/docs/compare/collab-land --- # Galxe is shutting down: moving from Galxe to Guild > Galxe is winding down Galxe Quest, ID and Passport: no new campaigns since 9 November 2026 and the last campaign day is 5 December. What moves to Guild, what doesn't, and how to rebuild your quests. Galxe is shutting down its quest platform. On 9 November 2026 Galxe announced that it is folding its team and brand into Gravity and will wind down Galxe Quest, Galxe ID, Galxe Passport and related services. Spaces can no longer create campaigns, the last day to take part in a campaign is 5 December 2026, and on 15 December 2026 reward claims close and the Galxe website turns read-only. [1] If your project ran its community program on Galxe, this page shows what moves to Guild, what doesn't, and how to rebuild it before your campaigns end. Guild is access management: roles with requirements decide who gets into your Discord, Telegram groups and gated pages, with points and leaderboards on top, and Guild keeps that access current, adding members who qualify and removing those who stop qualifying. It doesn't bring an audience of quest hunters and doesn't pay out tokens. Facts about Galxe come from its announcement and its own docs and help center, as of November 2026; see [Sources](#sources). ## Galxe shutdown timeline | Date | What changes on Galxe | |---|---| | 9 November 2026 | Spaces can no longer create new campaigns. New Galxe+ and Galxe Score subscriptions and Galxe Passport minting stop. [1] | | 5 December 2026 | Last day to take part in campaigns. No campaign stays active after this date. [1] | | 15 December 2026 | Campaign reward claims close, and the whole Galxe website switches to read-only. [1] | Gravity and the G token carry on unchanged. Smart Savings balances, staked G not yet withdrawn and G held on Gravity Alpha Mainnet follow a separate claim process that Galxe says it will announce on its X account. [1] ## What moves to Guild | On Galxe | On Guild | |---|---| | Quest with tasks | A role whose requirements are the tasks, combined with **All**, **Any one** or **Some**. Members claim the role once they qualify. | | X follow, like and repost tasks [2] | **Twitter / X** requirements: **Follow or be followed by**, **Like a post**, **Repost a post**, **Quote a post**, **Reply to a post**, and profile checks on followers, name or bio. | | Discord and Telegram tasks [2] | **Discord member** (a server or a role in it) and **Telegram** requirements. | | NFT Holder and Wallet Balance tasks [2] | **NFT Balance** and **Token Balance** on 50 EVM mainnets, plus native coin balance, transaction count and first transaction date. | | Contract Query tasks [2] | **Contract query**. | | CSV, Google Sheet or API imports [2] | **Allowlist** from a `.txt` or `.csv` of wallets or emails, or **Custom API call** on Pro and above. | | Points and leaderboards [3] | Point systems with leaderboards. Roles can award points and require a points balance. | | Discord role rewards [3] | Discord roles that Guild also takes away when a member stops qualifying. | | NFT and OAT rewards [3] | NFT rewards that qualifying members mint. | | Telegram access | Telegram groups as a reward: members join through an invite link, and the bot removes those who stop qualifying. | | Token rewards, mystery boxes, Earndrop [3][4] | Not on Guild. See [What Guild doesn't replace](#what-guild-doesnt-replace). | | Galxe Passport and Galxe Score sybil checks [4] | No Guild passport, but the same job is done with requirements: **World ID** for proof of personhood, the score.xyz **Trust Score** for an X account's reputation, and X account age, follower and verified checks. See [Keep bots out](/docs/guides/keep-out-bots). | ## Moving from Galxe to Guild Do this before 5 December, so members can move from your last Galxe campaign straight to the new roles. 1. **Save what you need from Galxe.** Download any participant or winner lists from your Space while it still works. After 15 December the site is read-only. [1] 2. **Create a guild.** Go to [/create](/create), then choose **Manage guild** to open the admin panel. 3. **Rebuild each quest as a role.** In **Spaces & roles**, add a role for each quest. Under **Who gets it**, press **Requirement** and pick the types from the table above. To keep credit for past campaigns, add a role with an **Allowlist** of the wallets you exported, or require the OAT or NFT the campaign minted. 4. **Add the rewards.** Under **Unlocks**, press **Add reward** and add a Discord role, a Telegram group, an NFT or points. The first points reward asks you to create a point system. See [Points](/docs/rewards/points). 5. **Test and share.** Choose **View as member** to check the roles, then post the guild's link in the places your Galxe Space used to point members. Or connect an AI agent to Guild's MCP server at `https://mcp.guild.xyz/mcp` (beta, free on every plan) and describe your quests in plain language; it creates the roles, requirements and rewards. See [Manage your guild with an AI agent](/docs/guides/manage-with-ai-agents). For full walkthroughs, see [Quests and campaigns](/docs/guides/quests-and-campaigns) and [Run a points program and leaderboard](/docs/guides/points-and-leaderboards). ## What Guild doesn't replace - **An audience.** Galxe published quests to its own users; it says it served 36 million users and more than 7,700 projects. [1] Guild works with the community you bring. - **Token payouts.** Guild has no token rewards, raffles or first come, first served payouts. [Layer3](/docs/compare/layer3) pays users in tokens. - **A standalone quest board.** If you want a board with XP, sprints and prize pools, see [Zealy](/docs/compare/zealy). - **Some chains.** Guild's onchain requirements work on 50 EVM mainnets. Solana, Sui and other non-EVM chains aren't supported, and neither is Gravity. See [Supported chains](/docs/chains). Many projects split the job: campaigns on a quest platform, and the ongoing roles, Discord and Telegram access and points on Guild. ## Pricing Guild has a free plan with roles, requirements, rewards, pages, and Discord and Telegram gating, with no limit on members. Paid plans are Starter $29, Pro $99 and Growth $399 per month, or $290, $990 and $3,990 per year, and new guilds can start a 7-day free trial. See [Plans](/docs/plans). For comparison, Galxe's Basic plan needed a 300 USDT/USDC deposit to create a Space, and Business+ started at $999 a month billed annually. [5][6] ## FAQ **Is Galxe shutting down?** Galxe Quest, Galxe ID, Galxe Passport and related services are winding down. Galxe announced it on 9 November 2026: no new campaigns from that day, the last day of campaigns is 5 December 2026, and the site turns read-only on 15 December 2026. Gravity and the G token continue. [1] **What is a good Galxe alternative?** It depends on what you used Galxe for. For quests that give Discord roles, Telegram access, points and leaderboards to your own community, and keep that access current, use Guild. For token payouts to new users, look at Layer3. For a quest board with sprints and prizes, look at Zealy. See [Token-gating and community tools compared](/docs/compare/token-gating-tools). **Will my Galxe OATs and NFTs still work?** OATs and NFTs already minted sit in members' wallets onchain. If they are on an EVM chain Guild supports, you can gate a role on them with an **NFT Balance** requirement. Galxe often minted every campaign in a Space from one contract, so a contract check may cover all your OATs rather than one campaign; to credit one campaign, use **Multiple Token IDs** or an allowlist of its participants. Guild doesn't support the Gravity chain, so OATs minted on Gravity can't be checked. **Can Guild verify that someone completed a Galxe quest?** Not directly. Guild's old Galxe campaign requirement is retired. Upload the participants' wallets as an allowlist, or require the OAT or NFT the quest minted. **Can I gate Discord roles with Galxe OATs?** Yes, if the OAT is on an EVM chain Guild supports. Add an **NFT Balance** requirement for its contract and a Discord role reward. **Can an AI agent move my quests to Guild?** Yes. Connect any MCP client to `https://mcp.guild.xyz/mcp` and describe the quests; it creates the roles, requirements and rewards. It's free on every plan and in beta. See [Agents](/docs/agents). ## Sources 1. [Galxe on X: consolidation under Gravity, 9 November 2026](https://x.com/Galxe/status/2119681030609105175) 2. [Galxe Help Center: Create Quest: Tasks Settings](https://help.galxe.com/en/articles/9728885-create-quest-tasks-settings) 3. [Galxe Help Center: Create Quest: Rewards](https://help.galxe.com/en/articles/9645630-create-quest-rewards) 4. [Galxe Help Center: Galxe Solutions Overview](https://help.galxe.com/en/articles/11203589-galxe-solutions-overview) 5. [Galxe Help Center: Getting Started with Galxe Quest](https://help.galxe.com/en/articles/8506982-getting-started-with-galxe-quest) 6. [Galxe Help Center: Business+ Overview](https://help.galxe.com/en/articles/11568587-business-overview) Source: https://new.guild.xyz/docs/compare/galxe --- # Guild and Zealy compared > Zealy is a quest board with XP, sprints and prize pools; Guild manages token-gated access to Discord, Telegram and pages, with points, quests and an MCP server for AI agents. Guild and Zealy both reward community members, but they do different jobs. Zealy is a quest board: members complete tasks, earn XP, climb leaderboards and compete in sprints for prizes. Guild manages access: roles with requirements decide who gets in, and Guild gives and takes away Discord roles, Telegram groups and gated pages as members qualify or stop qualifying. For a quest board with prize pools, Zealy fits. For token gating and access that stays up to date, Guild is the closer fit. ## At a glance | | Guild | Zealy | |---|---|---| | **What it is** | Access management: roles with requirements that unlock rewards | A quest board: tasks that earn XP, ranked on leaderboards and in sprints | | **Discord** | Gives a Discord role when a member qualifies and removes it when they stop, unless you switch on **Keep role once earned** ([guide](/docs/guides/token-gate-discord)) | A Discord role can be a quest reward, and quests can be limited to members with a Discord role | | **Telegram** | Guild's bot lets qualifying members into a private group or channel and removes them when they lose the role ([guide](/docs/guides/token-gate-telegram)) | A Telegram task checks that a user has joined a group | | **Onchain requirements** | Tokens, NFTs, wallet activity, contract queries and EAS attestations on EVM chains (50 EVM mainnets); holding history on Ethereum and Base | Token and NFT tasks with an optional minimum holding period, and an On-Chain task that checks contract interactions on EVM chains | | **Quests and points** | Roles act as quests; points rewards, a leaderboard per point system, and points requirements for higher tiers | Quests, XP, leaderboards, sprints, quizzes, polls, text answers and invite tasks | | **Prizes** | Points, NFTs, secrets, Discord roles, Telegram groups, forms, voting rights, profile items and gated pages; no cash or token payouts | XP, Discord roles and USDC paid automatically on a claim; tokens and custom rewards you send yourself | | **AI and agents** | The Guild MCP server (beta) lets Claude, Codex, Cursor and other agents run a guild; free on every plan | An MCP server at `https://mcp.zealy.io/mcp` for running communities and quests from an AI agent, plus AI Review of claims and an AI quest assistant on Plus and above | | **API** | REST API on Pro and above | REST API with API keys, plus webhooks | | **Pricing** | Free plan; Starter $29, Pro $99, Growth $399 a month | Free plan up to 100 members; Standard from $149 and Plus from $359 a month billed annually; Enterprise on request | ## When to choose Guild - **You are gating access.** Guild checks members' wallets and accounts against each role's requirements and keeps their Discord roles and Telegram groups in line with what they hold, on the free plan. - **You need detailed onchain conditions.** Requirements cover balances, wallet activity, contract queries and attestations across 50 EVM mainnets, plus holding history on Ethereum and Base. See [Supported chains](/docs/chains). - **You want tiers, not one leaderboard.** Roles can require other roles or a points balance, so members move up and down as their activity changes. - **You want an AI agent to do the setup.** Connect the [Guild MCP server](/docs/agents) at `https://mcp.guild.xyz/mcp` and ask in plain language for roles, requirements and rewards. A connection manages one guild, can't create or delete guilds, and stops within 15 seconds of being revoked. ## When to choose Zealy - **You want a quest board with prizes.** Zealy runs sprints with USDC or Zaps prize pools that it pays out itself, XP leaderboards, and USDC quest rewards paid on a claim. Guild has no cash or token payout reward. - **Your tasks are quizzes, polls or written answers.** Zealy has quiz and poll tasks, text tasks with automatic validation, and, on Plus and above, AI Review of screenshots, tweets and text answers. In Guild, written answers go through a gated form, approved automatically or by you, and forms need the Pro plan. - **You want quest-takers to find you.** Paid Zealy plans are listed on Zealy, and Plus and Enterprise are promoted on its homepage for some days each month. You can also use both: Zealy for campaigns, Guild for the access that comes after. ## Moving from Zealy to Guild Guild has no automatic import from Zealy. Rebuild instead: 1. Create a guild at [/create](/create). The free plan is enough. 2. In the admin panel, open **Spaces & roles** and recreate each quest as a role. Under **Who gets it**, add requirements matching the old tasks, such as an X follow, Discord or Telegram membership, a token balance or **Visit link**. Under **Unlocks**, add rewards. See [Roles](/docs/roles) and [Requirements](/docs/requirements). 3. For XP, add a **Points** reward to each role, and use [points requirements](/docs/requirements/points) for levels that unlock at a balance. 4. If your Zealy export includes wallet or email addresses, upload them as an [allowlist](/docs/requirements/allowlist) so past participants get a "Zealy contributors" role. 5. To carry balances over, open the admin's **Points** module, choose **Import adjustments** from the point system's menu, and paste rows of Guild user ID, amount and an optional note, up to 500 rows at a time. Members need a Guild account first. On Pro and above you can also grant points from the [REST API](/docs/api). ## FAQ **What is an alternative to Zealy?** For token gating and access that follows what members hold, Guild is one, with Discord, Telegram, pages and points on its free plan. **Is Guild free?** Every guild can start on the free plan with roles, requirements, rewards and pages. Paid plans add hidden roles, more admins, analytics and forms. See [Plans](/docs/plans). **Can Guild run quests like Zealy?** Yes. A role with social and onchain requirements is a quest, and its rewards can include points, an NFT or a Discord role. Guild has no quiz or poll tasks and no cash prize pools. See [quests and campaigns](/docs/guides/quests-and-campaigns). **Can an AI agent manage my Guild?** Yes. The Guild MCP server is in beta and free on every plan. You choose what the agent may do: read, manage, member data or moderation. See [Manage a guild with an AI agent](/docs/guides/manage-with-ai-agents). **Does Guild remove Discord roles when someone no longer qualifies?** Yes, unless you switched on **Keep role once earned** for that reward. ## Sources Zealy facts as of November 2026: - Zealy pricing: https://zealy.io/pricing - Zealy billing and plans: https://zealy.io/docs/start-guide/billing-and-plans - Zealy quest rewards: https://www.zealy.io/docs/quest-properties/rewards - Zealy Discord integration: https://zealy.io/docs/integrations/discord - Zealy Telegram task: https://zealy.io/docs/tasks/telegram - Zealy token task: https://zealy.io/docs/tasks/token - Zealy NFT task: https://zealy.io/changelog/2024-05-13-nft-task - Zealy On-Chain task and AI assistant: https://zealy.io/changelog/2024-07-14-zealy-assistant - Zealy minimum holding period and sprint payouts: https://www.zealy.io/changelog - Zealy text tasks: https://zealy.io/docs/tasks/text - Zealy quiz and poll tasks: https://zealy.io/docs/tasks/poll-quiz - Zealy invite tasks: https://www.zealy.io/docs/tasks/invites - Zealy AI Review: https://zealy.io/docs/quest-properties/ai-review - Zealy sprints and XP: https://zealy.io/blog/zealy-vs-layer3 - Zealy MCP server: https://zealy.io/docs/integrations/mcp - Zealy API index: https://docs.zealy.io/llms.txt - Zealy API authentication: https://docs.zealy.io/authentication.md - Zealy webhooks: https://zealy.io/docs/integrations/webhooks Source: https://new.guild.xyz/docs/compare/zealy --- # Guild and Matrica compared > Matrica verifies NFT and token holders across Solana, Bitcoin and EVM chains; Guild gates Discord, Telegram and pages on 50 EVM mainnets, free, with points and an MCP server. Guild and Matrica both give Discord and Telegram members roles based on the tokens and NFTs they hold. Matrica is a holder verification service for NFT communities. Its chain list leads with Solana, and it verifies holders on Solana, Bitcoin, Eclipse and five EVM chains, checks NFT traits and statuses such as staked or listed, and adds sales bots, events and proposals. Guild is a community home on guild.xyz: it checks onchain activity, social accounts and Guild activity as well as holdings on 50 EVM mainnets, and adds points, quests, gated pages and an MCP server for AI agents. Discord and Telegram gating are on Guild's Free plan. The Matrica details on this page come from its own site, docs and pricing guide, as of November 2026. Check the [sources](#sources) for anything that may have changed. ## At a glance | | Guild | Matrica | |---|---|---| | What it is | A home for your community on guild.xyz: roles with requirements that unlock rewards and pages | Token gating and holder verification for NFT communities, managed from Matrica Business; members verify on matrica.io | | Discord gating | Yes, on the Free plan: Guild's bot gives and removes Discord roles | Yes: Discord holder verification is in every plan | | Telegram gating | Yes, on the Free plan: Guild's bot lets members into private groups and channels and removes them | Yes; groups beyond the one included cost $15 a month each | | Chains | 50 EVM mainnets; holding history on Ethereum and Base | Solana, Bitcoin, Ethereum, Polygon, Eclipse, Base, Monad and ApeChain | | Onchain requirements | Token and NFT balances, specific token IDs, contract queries, wallet activity, EAS attestations | NFTs by collection, amount and attribute; SPL, ERC-20, BRC-20 and Runes tokens; NFT status (listed, rented, staked); royalties paid; Ordinals inscription numbers; Solana validator stake; compressed NFTs | | Other requirements | X, Discord, Telegram, GitHub, Farcaster, YouTube, email, POAP, World ID, allowlists, scores, points and more | Lists of X usernames or wallet addresses (Pro plan) | | Combining rules | **All**, **Any one** or **Some** | AND and OR across rules | | Community tools | Pages, feeds, announcements, chat, points, quests, forms and voting | Sales and listing bots, events with ticketing, proposals, holder snapshots | | AI agents | Guild MCP server (beta) at `https://mcp.guild.xyz/mcp`, free on every plan | API access on the Enterprise plan; no MCP server in its docs | | Pricing | Free plan; Starter $29, Pro $99, Growth $399 a month per guild | Premium $99 a month ($899 a year), Pro $199 a month ($1,750 a year), Enterprise on request; add-ons for more roles, Telegram groups and snapshots with Discord IDs | ## When to choose Guild - **You gate by more than holdings.** A Guild role can ask for a token balance and an X follow, a Discord role, a GitHub account of a certain age or a first transaction months ago. See [Requirements](/docs/requirements). - **You want gating without a subscription.** Discord and Telegram gating are on Guild's Free plan. Paid plans start at $29 a month per guild. See [Plans](/docs/plans). - **You want quests and points.** Give points when members earn a role, rank them on a leaderboard, and let balances unlock further roles. See [Points](/docs/rewards/points). - **You want an AI agent to run it.** Connect Claude, Codex, Cursor or another MCP client and ask it to create roles, requirements and rewards. See [Agents](/docs/agents). - **You want a home outside Discord.** Guild has pages, feeds, announcements and chat, open to everyone or locked behind roles. ## When to choose Matrica - **Your collection is on Solana, Bitcoin or Eclipse.** Guild's onchain requirements work on EVM chains only. Matrica verifies Solana NFTs, SPL tokens and compressed NFTs, Bitcoin Ordinals, Runes and BRC-20 tokens, and Solana validator stake. It also supports ApeChain. - **You gate by NFT traits.** Matrica's attribute rules check an NFT's metadata. Guild checks collections and token IDs, not traits. - **You gate by what holders do with their NFTs.** Matrica can give roles for NFTs that are listed, rented or staked, for paying royalties, or for low inscription numbers, and can integrate your staking platform so holders keep their roles when they stake. - **You want collector tools in the same place.** Matrica includes sales and listing bots for Discord and Telegram, events with ticketing, proposals voted on by token holders, and holder snapshots as JSON or CSV. - **Your members already use Matrica.** Members link their wallets and Discord or Telegram once on matrica.io, and get roles in the Discord servers and Telegram groups that use Matrica. You can run both: give each bot its own Discord roles. ## Moving from Matrica to Guild 1. Create a guild at [/create](/create), then choose **Manage guild** to open the admin panel. 2. Open **Spaces & roles** and choose **New role** for each Matrica rule. 3. Under **Who gets it**, press **Requirement** and pick **NFT Balance** or **Token balance**. Use the same chain, contract address and amount as the Matrica rule. Pick **Multiple Token IDs** for a set of NFTs, and use a [contract query](/docs/requirements/contract-query) for a staking contract. 4. For a wallet address list, add an **Allowlist** requirement and upload the addresses as a `.txt` or `.csv` file. See [Allowlist](/docs/requirements/allowlist). 5. Under **Unlocks**, press **Add reward** and pick **Discord**. Connect your server, invite the bot, and choose **Existing role** to keep the Discord role your members already know, or **New role**. Turn off the matching Matrica rule first, so only one bot manages that role. 6. In your server's settings, drag the **Guild.xyz bot** role above every role Guild manages. 7. For Telegram, add a **Telegram** reward, add @Guildxyz_bot to the group as an admin and paste the **Group ID** it posts. See [Telegram rewards](/docs/rewards/telegram). 8. Post your guild's link in the server. Members connect their wallets and Discord account on Guild and claim their roles. Keep any rule for a non-EVM chain, ApeChain, an NFT trait, an NFT status or royalties on Matrica: Guild can't check those. ## FAQ **Is Guild a free alternative to Matrica?** Discord and Telegram gating are on Guild's Free plan. Matrica's pricing guide lists plans from $99 a month. Guild's paid plans add features such as hidden and secret roles, the member CRM, analytics and forms; see [Plans](/docs/plans). **Does Guild support Solana or Bitcoin?** No. Guild's onchain requirements work on 50 EVM mainnets. See [Supported chains](/docs/chains). **Can Guild check Ethereum, Base or Polygon collections I verify with Matrica?** Yes, by collection and token ID, with an **NFT Balance** requirement. Trait and status rules don't carry over. **Can an AI agent set up token gating in Guild?** Yes, through the Guild MCP server, in beta and free on every plan. See [Manage your guild with an AI agent](/docs/guides/manage-with-ai-agents). ## Sources Matrica facts as of November 2026: - [Matrica home page](https://matrica.io/) - [Matrica docs: introduction and supported chains](https://docs.matrica.io/) - [Matrica Pricing Guide](https://docs.matrica.io/guides/pricing-guide) - [User Guide: Getting Started](https://docs.matrica.io/guides/user-guide/getting-started) - [Attribute Based Roles](https://docs.matrica.io/guides/community-guide/verification/attribute-based-roles) - [AND/OR Based Roles](https://docs.matrica.io/guides/community-guide/verification/and-or-based-roles) - [Fungible Token Roles](https://docs.matrica.io/guides/community-guide/verification/fungible-token-roles) - [Status Based Roles](https://docs.matrica.io/guides/community-guide/verification/status-based-roles) - [Royalty Based Roles](https://docs.matrica.io/guides/community-guide/verification/royalty-based-roles) - [Inscription # Based Roles](https://docs.matrica.io/guides/community-guide/verification/inscription-based-roles) - [Validator Stake Gating](https://docs.matrica.io/guides/community-guide/verification/validator-stake-gating) - [Wallet Address Gating](https://docs.matrica.io/guides/community-guide/verification/wallet-address-gating) - [X Username Gating](https://docs.matrica.io/guides/community-guide/verification/x-username-gating) - [Telegram Set-Up: Add Requirements](https://docs.matrica.io/guides/community-guide/telegram-set-up/add-requirements) - [Staking Support](https://docs.matrica.io/guides/community-guide/staking-support) - [Sales Bot and Web-hooks](https://docs.matrica.io/guides/community-guide/sales-bot-and-web-hooks) - [Events](https://docs.matrica.io/guides/community-guide/events) - [Proposals](https://docs.matrica.io/guides/community-guide/proposals) - [Snapshots](https://docs.matrica.io/guides/community-guide/discord-set-up/snapshots) - [Enterprise](https://docs.matrica.io/guides/enterprise) - [Matrica docs index (llms.txt)](https://docs.matrica.io/llms.txt) Source: https://new.guild.xyz/docs/compare/matrica --- # Guild and Vulcan compared > How Guild and Vulcan differ on Discord and Telegram gating, wallet verification, chains, NFT traits, AI agents and pricing, and when each is the better fit. Guild and Vulcan both give Discord members roles based on the tokens and NFTs they hold. Vulcan is a Discord bot from PREMINT for NFT communities on EVM chains: members verify inside the server without connecting a wallet, and the same bot runs captcha, sales bots, tickets and giveaways. Guild is a community home on guild.xyz: it checks onchain activity, social accounts and Guild activity as well as holdings, gates Telegram groups and pages too, and adds points, quests and an MCP server for AI agents, with a flat price per guild. The Vulcan details on this page come from its own site, docs and pricing page, as of November 2026. Check the [sources](#sources) for anything that may have changed. ## At a glance | | Guild | Vulcan | |---|---|---| | What it is | A home for your community on guild.xyz: roles with requirements that unlock rewards and pages | A Discord bot for token-gated roles and server management, set up from the Vulcan dashboard | | How members verify | They sign in on guild.xyz, connect their wallets and Discord account, and claim their roles | They press **Verify** in the server. Vulcan uses wallets already proved through OpenSea, PREMINT or another Vulcan server; otherwise members edit a marketplace bio or send a transaction from a wallet to itself. No wallet connection or signature | | Discord gating | Yes, on the Free plan: Guild's bot gives and removes Discord roles | Yes | | Telegram gating | Yes, on the Free plan | No. Vulcan's docs point to Collab.Land for Telegram | | Onchain requirements | 50 EVM mainnets: token and NFT balances, token IDs, contract queries, wallet activity, EAS attestations; holding history on Ethereum and Base | 28 EVM chains: contract, OpenSea collection, quantity, trait, ERC-20, token ID, staking (Ethereum only) and combined rules. No Solana or Bitcoin Ordinals | | Other requirements | X, Discord, Telegram, GitHub, Farcaster, YouTube, email, POAP, World ID, allowlists, scores, points and more | A custom webhook to your own API, and a check that the member's X profile picture is their NFT | | Other tools | Points and leaderboards, quests, gated pages, forms, NFT rewards, member analytics | Captcha, sales bot, art and floor bots, support tickets, giveaways, onboarding flows, member dashboard | | AI agents | Guild MCP server (beta) at `https://mcp.guild.xyz/mcp`, free on every plan | A Members API that reads members, wallets and roles, on Pro and above. Its docs mention no MCP server | | Pricing | Free plan; Starter $29, Pro $99, Growth $399 a month per guild | Since 1 October 2026, priced by verified members (those holding a role Vulcan manages): Free up to 100 members and 3 rules, Growth $20 a month up to 1,000, Pro $50 a month up to 5,000, Enterprise on request. Every feature is on every plan | ## When to choose Guild - **You gate by more than holdings.** A Guild role can ask for a token balance and an X follow, a Discord account of a certain age or a first transaction months ago, combined with **All**, **Any one** or **Some**. See [Requirements](/docs/requirements). - **You also gate Telegram or a web page.** The same role can unlock a Discord role, a Telegram group and gated pages, all on the Free plan. See [Token-gate a Telegram group](/docs/guides/token-gate-telegram). - **You want quests and points.** Give points when members earn a role, rank them on a leaderboard, and let balances unlock further roles. See [Points](/docs/rewards/points). - **You want an AI agent to run it.** Connect Claude, Codex, Cursor or another MCP client and ask it to create roles, requirements and rewards. See [Agents](/docs/agents). ## When to choose Vulcan - **You don't want members to connect a wallet.** Vulcan's flow never asks for a wallet connection, a signature, a DM or an external link. Vulcan says it already knows over 500,000 collectors, who verify straight away. - **You gate by NFT traits.** Vulcan's trait rules give roles by an NFT's attributes. Guild checks collections and token IDs, not traits. - **You want one bot for running the server.** Captcha, sales, art and floor bots, tickets, giveaways and onboarding are free on every Vulcan plan. - **Your community is small or mid-sized and only needs holder roles.** Role verification is free up to 100 verified members, then $20 a month up to 1,000 and $50 up to 5,000. You can run both: give each bot its own Discord roles. ## Moving from Vulcan to Guild 1. Create a guild at [/create](/create), then choose **Manage guild** to open the admin panel. 2. Open **Spaces & roles** and choose **New role** for each Vulcan rule. 3. Under **Who gets it**, press **Requirement** and pick the matching type: - NFT Contract, OpenSea Collection and Quantity rules: **NFT Balance**, with the collection's chain, contract address and amount - Specific Token ID rules: **NFT Balance** with a **Token ID**, or **Multiple Token IDs** for a list - ERC-20 rules: **Token balance**, with **ERC20 balance** under **What to check** - Staking rules: a [contract query](/docs/requirements/contract-query) on the staking contract - Custom webhook rules: [Custom API call](/docs/requirements/custom-api-call) (Pro plan and above). Guild puts the wallet in your URL in place of `` and checks a field of the JSON answer, so your endpoint may need a small change. - Combined rules: put both requirements on one role and set **Members should meet** to **All**. 4. Under **Unlocks**, press **Add reward** and pick **Discord**. Connect your server, invite the bot, and choose **Existing role** to keep the Discord role your members already know. Turn off the matching Vulcan rule first: Vulcan's FAQ notes that verification bots remove roles they did not assign, so only one bot should manage each role. 5. In your server's settings, drag the **Guild.xyz bot** role above every role Guild manages. 6. Choose **View as member** to check the roles, then post your guild's link in the server. Members connect their wallets and Discord account on Guild and claim their roles. Keep trait and X profile picture rules, captcha, sales bots and tickets on Vulcan: Guild doesn't replace those. ## FAQ **Is Guild a free alternative to Vulcan?** Discord and Telegram gating are on Guild's Free plan. Paid plans, from $29 a month per guild, add features such as hidden and secret roles, the member CRM, analytics and forms; see [Plans](/docs/plans). **Do members have to connect a wallet on Guild?** Yes. Members sign in with a wallet, email or social account, then connect the wallets your requirements check. Guild then refreshes the data in the background and updates their roles. **Can Guild gate by NFT traits?** No. Guild checks collections and token IDs. If a trait belongs to a fixed set of tokens, you can list their IDs under **Multiple Token IDs**. **Does Guild support Solana?** No. Guild's onchain requirements work on 50 EVM mainnets; see [Supported chains](/docs/chains). Vulcan's chains are EVM only as well. ## Sources Vulcan facts as of November 2026: - [Vulcan home page](https://www.vulcan.xyz/) - [Vulcan pricing](https://www.vulcan.xyz/pricing) - [Token verification](https://www.vulcan.xyz/features/verify/) - [Supported chains](https://www.vulcan.xyz/chains) - [Changelog](https://www.vulcan.xyz/changelog) - [Welcome to Vulcan](https://www.vulcan.xyz/docs/) - [Plans & Limits](https://www.vulcan.xyz/docs/getting-started/account-limits/) - [Vulcan compared to other Token-Gating Services](https://www.vulcan.xyz/docs/getting-started/vulcan-compared-to-other-token-gating-services/) - [Add or Remove Wallet](https://www.vulcan.xyz/docs/getting-started/add-or-remove-wallet/) - [Vulcan FAQ](https://www.vulcan.xyz/docs/getting-started/faq/) - [Staking](https://www.vulcan.xyz/docs/products/verify-roles/nft/staking/) - [Custom Webhook](https://www.vulcan.xyz/docs/products/verify-roles/custom-webhook/) Source: https://new.guild.xyz/docs/compare/vulcan --- # Guild and Layer3 compared > Layer3 is an onchain distribution platform that pays users in tokens for Activations; Guild manages token-gated access to Discord, Telegram and pages, with points and AI agents. Guild and Layer3 both reward people for doing things onchain, but they are built for different jobs. Layer3 is a distribution platform: projects publish Activations (what Layer3 used to call quests) to Layer3's own users, pay them in tokens, and record each completion as a CUBE credential. Guild manages access: roles with requirements decide who gets into your Discord, Telegram groups and gated pages, and Guild keeps that access current as members qualify or stop qualifying. To reach new users and pay them in tokens, Layer3 is the better fit. For access that stays current in the community you already have, or an AI agent to run it, look at Guild. Facts about Layer3 come from its own site and docs, as of November 2026; see [Sources](#sources). ## At a glance | | Guild | Layer3 | |---|---|---| | What it is | Roles with requirements that unlock rewards. Members gain and lose roles as their wallets and accounts change. | An onchain distribution and user acquisition platform: a consumer app of Activations, Streaks and Competitions, the self-serve Builder for projects, CUBE credentials and the L3 token. [1][2] | | Discord | Discord roles as a reward. Members who qualify claim the role; Guild removes it when they stop qualifying. Free plan. | A **Join Discord Server** step, checked by the Layer3 bot. Discord roles are not among the Builder's reward types. [10][11] | | Telegram | Telegram groups as a reward. Members who qualify join through an invite link, and the bot removes those who stop qualifying. Free plan. | A **Join Telegram Group** step, checked by the Layer3 bot. Arena, a separate Telegram bot for trading competitions, is invite-only. [11][16] | | Onchain requirements | Tokens, NFTs and contract queries on 50 EVM mainnets. Wallet activity and EAS attestations on fewer chains, holding history on Ethereum and Base. | Contract interactions with method and date filters, AND/OR rules over interactions and token transfers, token and NFT holdings, NFT mints, POAPs and Gitcoin Passport scores. Activations run on EVM chains and Solana. [4][11] | | Quests and points | Roles as quests that combine onchain and social requirements. Point systems with leaderboards, and roles that require a points balance or an earlier role. | Activations mix onchain steps with info cards, quizzes and polls. Streaks reward a repeated action. XP, Levels, Leagues and a global leaderboard. [4][5][6][11] | | Rewards | Points, NFTs, secrets, Discord roles, Telegram groups, gated pages, and forms on Pro. No token payouts. | Every Activation must offer an incentive: tokens (any ERC-20, SPL or native token) from an escrow you fund, or points, NFT allowlist spots or raffles. Completers also get a CUBE and XP. [8][10][12][13] | | AI agents | The Guild MCP server at `https://mcp.guild.xyz/mcp` (beta, free on every plan). | The Builder docs mention "AI-ready infrastructure for automated tasks", and the site points to Layer3 Intel. No MCP server is listed in its docs index. [1][7][3] | | Cost | Free plan. Starter $29, Pro $99 and Growth $399 per month per guild. | Self-serve, with no published plan prices. To submit Activations, a project stakes L3 on Ethereum for at least 12 months. Members pay a fee to mint each CUBE, which creators share once they have referred 50 new users. [9][14][17] | ## When to choose Guild - **You gate a Discord server or Telegram group.** A member who sells the token or leaves the required server loses the role when they are next checked, and with it the Discord role or Telegram group. Both are on the Free plan. See [Token-gate Discord](/docs/guides/token-gate-discord). - **Your members climb tiers.** A role can require another role, a points balance or other Guild activity, so you can build a path from newcomer to core contributor. See [Points and leaderboards](/docs/guides/points-and-leaderboards). - **You don't want to hold a token to start.** Guild's plans are subscriptions, starting free. Members earn roles by meeting the requirements; they don't mint a credential to get one. See [Plans](/docs/plans). - **You want an AI agent to run it.** Claude, Codex, Cursor and other MCP clients can create roles, set up requirements and rewards, edit pages and read analytics. Each connection manages one guild with the permissions you grant. See [Agents](/docs/agents). ## When to choose Layer3 - **You want new users, not only your own community.** Layer3 lists Activations in its Discover feed and in your project's Community Space, and its Builder docs say it reaches over 250,000 monthly transacting users. [4][7] - **You reward with tokens.** Each Activation gets an escrow contract you fund, with a per-user amount and a participant cap; members claim the tokens when they mint their CUBE. Layer3 pays the gas to deploy the escrow. Guild has no token reward. [13] - **You need Solana.** Layer3 distributes SPL tokens and mints CUBEs on Solana. Guild's onchain requirements work on EVM chains only. [12][15] - **You want quizzes, Streaks or a reusable onchain audience.** Layer3 has quiz and poll steps, Streaks for repeated actions, and CUBEs you can target with later Activations or turn into allowlists. Creators can also earn a share of CUBE fees. [6][11][14][15] ## Using Layer3 and Guild together A common setup: a Layer3 Activation brings people in, then a Guild role gives those who completed it ongoing access. 1. Create a guild at [/create](/create), then choose **Manage guild** to open the admin panel. 2. In **Spaces & roles**, add a role such as "Layer3 explorers". Under **Who gets it**, press **Requirement** and pick one of: - **NFT Balance** for the CUBE contract, on an EVM chain Guild supports. Layer3 lists one CUBE contract address for most chains. This counts CUBEs from any Activation, so it can't tell which one a member completed. [2] - **Allowlist**, with a `.txt` or `.csv` file of the wallets that minted your Activation's CUBE. See [Allowlist](/docs/requirements/allowlist). - The same onchain condition as your Activation, such as a **Contract call** or **Token balance**, so Guild checks it directly. See [Reward onchain activity](/docs/guides/reward-onchain-activity). 3. Under **Unlocks**, press **Add reward** and add a Discord role, a Telegram group, points or an NFT. 4. Choose **View as member** to test it, then share the guild's link in your Activation's last step or in your Community Space. To run community quests on Guild instead, rebuild each Activation as a role; see [quests and campaigns](/docs/guides/quests-and-campaigns). ## FAQ **Is Guild an alternative to Layer3?** For community quests and token-gated access, yes, with roles, points, Discord and Telegram gating on the Free plan. It is a different tool, though: Guild has no token rewards and no audience of its own to send you. **Can Guild check Layer3 CUBEs?** Yes, as NFTs on a supported EVM chain: add an **NFT Balance** requirement for the CUBE contract. To reward one Activation's completers, upload their wallets as an allowlist. **Can an AI agent manage my quests on Guild?** Yes. Connect any MCP client to `https://mcp.guild.xyz/mcp`. It's free on every plan and in beta. See [Manage your guild with an AI agent](/docs/guides/manage-with-ai-agents). ## Sources 1. [Layer3 home page](https://layer3.xyz/) 2. [Layer3 llms.txt](https://app.layer3.xyz/llms.txt) 3. [Layer3 docs index (llms.txt)](https://layer3xyz.gitbook.io/layer3-updated-docs/llms.txt) 4. [Layer3 docs: Activations](https://layer3xyz.gitbook.io/layer3-updated-docs/platform/activations) 5. [Layer3 docs: Rewards & Progression](https://layer3xyz.gitbook.io/layer3-updated-docs/platform/rewards-and-progression) 6. [Layer3 docs: Streaks](https://layer3xyz.gitbook.io/layer3-updated-docs/platform/streaks) 7. [Layer3 docs: Why build with Layer3](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/getting-started/getting-started--why-build-with-layer3) 8. [Layer3 docs: Getting Access](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/getting-started/getting-started--getting-access) 9. [Layer3 docs: Unlock your Community Space](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/getting-started/getting-started--unlock-your-community-space) 10. [Layer3 docs: Activations (Actions & Rewards)](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/core-concepts/core-concepts--activations-actions-and-rewards) 11. [Layer3 docs: Action Types Reference](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/guides/guides--action-types-reference) 12. [Layer3 docs: Token Distribution](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/core-concepts/core-concepts--token-distribution) 13. [Layer3 docs: Token Reward Configuration](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/guides/guides--token-reward-configuration) 14. [Layer3 docs: Creator Rewards](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/core-concepts/core-concepts--creator-rewards) 15. [Layer3 docs: CUBEs (Credentials)](https://layer3xyz.gitbook.io/layer3-updated-docs/builder/core-concepts/core-concepts--cubes-credentials) 16. [Layer3 docs: Arena (Telegram)](https://layer3xyz.gitbook.io/layer3-updated-docs/arena-telegram/welcome) 17. [Layer3 docs: CUBEs](https://layer3xyz.gitbook.io/layer3-updated-docs/platform/cubes) Source: https://new.guild.xyz/docs/compare/layer3 --- # Guild and MEE6 compared > MEE6 is a Discord bot for moderation, chat XP and reaction roles; Guild gives and removes Discord roles based on tokens, onchain activity, social accounts and points. Guild and MEE6 both give Discord roles automatically, but they decide who gets them from different things. MEE6 is a general Discord bot: moderation, XP and levels for chatting, reaction roles, welcome messages and social alerts, set up from its web dashboard. Guild gives and removes Discord roles based on what a member holds and has connected outside the server: tokens and NFTs, onchain activity, social accounts and points. The two overlap on automatic roles and on levels versus points, and many servers run both: MEE6 to moderate and reward chat, Guild for roles that follow wallets and accounts. The MEE6 details on this page come from its own site, help center and Premium page, as of November 2026. Check the [sources](#sources) for anything that may have changed. ## At a glance | | Guild | MEE6 | |---|---|---| | What it is | A home for your community on guild.xyz: roles with requirements that unlock Discord roles, Telegram groups, points and pages | A Discord bot made of plugins, configured from a web dashboard | | Moderation | Not a moderation bot: Guild doesn't filter or punish messages | Moderator plugin with Automod filters for bad words, server invites and links, plus ban, kick and mute commands | | Automatic roles | A Discord reward gives a role when a member meets its requirements and removes it when they stop, unless **Keep role once earned** is on | Reaction roles with buttons, emoji or dropdowns; role rewards at chosen levels | | Levels and points | Point systems with a leaderboard each, points rewards on roles, admin grants and CSV imports; points requirements unlock higher roles. No XP for chat messages | Members earn 15 to 25 XP per message; `/rank` cards and a leaderboard that can be made public; `/give-xp` for admins | | Token gating | Token and NFT balances, contract queries and wallet activity on 50 EVM mainnets; holding history on Ethereum and Base | Web3 Gating, with a monthly Web3 subscription or a MEE6 Genesis Pass NFT: NFTs from OpenSea collections on Ethereum, and crypto on Ethereum and Polygon | | Other requirements | X, Discord, Telegram, GitHub, Farcaster, email, POAP, allowlists, points and more | Roles come from reactions, levels and Web3 rulesets | | Where it works | Discord, Telegram groups and channels, gated pages on guild.xyz | Discord | | AI | Guild MCP server (beta) at `https://mcp.guild.xyz/mcp`, free on every plan | Bot Maker writes custom modules from a description, on its own plans; MEE6 AI and AI Characters are sold separately | | Pricing | Free plan, with Discord gating; Starter $29, Pro $99, Growth $399 a month per guild | Free plan; Premium per server, shown to us as €11.99 a month, €49.99 a year or €89.99 once for Lifetime. Its comparison lists Moderation, Reaction Role and XP and Levels under Premium. Web3 is a separate monthly subscription | ## When to choose Guild - **Roles depend on wallets or accounts.** A Guild role can ask for a token balance, an NFT, a first transaction months ago, an X account or a GitHub account, combined with **All**, **Any one** or **Some**. See [Requirements](/docs/requirements). - **Your token is on a chain MEE6 doesn't check.** Guild reads balances on 50 EVM mainnets, not only Ethereum and Polygon. See [Supported chains](/docs/chains). - **Roles should follow holdings.** When a member sells below the requirement, Guild removes the Discord role. See [Token-gate a Discord server](/docs/guides/token-gate-discord). - **You reward more than chat.** Points come from earning roles, admin grants or your own code, and points requirements turn them into tiers. See [Points and leaderboards](/docs/guides/points-and-leaderboards). - **Your community is also on Telegram or the web.** The same role can unlock a Discord role, a Telegram group and a gated page. - **You want an AI agent to set it up.** Connect Claude, Codex, Cursor or another MCP client and ask for roles, requirements and rewards. See [Agents](/docs/agents). ## When to choose MEE6 - **You need moderation.** Guild has no message filters, warnings, bans or mutes. MEE6's Moderator plugin does. - **You want XP for chatting.** MEE6 counts messages and levels members up. Guild can't see Discord messages. - **Members should pick their own roles.** Reaction roles let members choose colours, pings or a "Verified" role from a message. MEE6's help center also shows them as a rules-acceptance gate. - **You want one bot for server chores.** Welcome messages, custom commands, polls, giveaways and alerts from Twitch, YouTube, X and other sites are MEE6 plugins. ## Using MEE6 and Guild together 1. **Give each role one owner.** Let MEE6 manage reaction roles, level rewards and moderation roles, and Guild manage holder, account and points roles. Never set both bots to give or remove the same Discord role. 2. **Create the Guild role.** In the admin panel, open **Spaces & roles**, choose **New role**, and under **Who gets it** add requirements such as **Token balance** or **NFT Balance**. 3. **Add the Discord reward.** Under **Unlocks**, press **Add reward**, pick **Discord**, choose your server and invite the bot if asked. Choose **New role**, so Guild creates a role MEE6 doesn't touch. 4. **Order the roles.** In your server's settings under Roles, drag the **Guild.xyz bot** role above every role Guild manages and the MEE6 role above every role MEE6 manages. Each bot can only manage roles below its own. 5. **Use MEE6 levels in Guild, if you like.** On a Guild role, press **Requirement**, open **Discord**, pick **Discord member**, your server, and **Role**, then choose a MEE6 level role such as "Level 20". Reward it with points or a Telegram group. Level role rewards need MEE6 Premium. If MEE6 is set to **Remove Previous Rewards**, members lose a level role as they pass it, so set **Members should meet** to **Any one** and add each higher level role too. 6. **Share the link.** Post your guild's link in a channel such as "get-roles". Members connect their wallets and Discord account on Guild and claim their roles. ## FAQ **Can MEE6 token-gate a Discord server?** Yes, with its Web3 subscription or a Genesis Pass. Its docs list NFTs from OpenSea collections on Ethereum and crypto on Ethereum and Polygon, and one wallet must meet a rule on its own. Guild gates on 50 EVM mainnets on its Free plan, and can add up NFTs across a member's wallets. **Can Guild give XP for messages?** No. Guild doesn't count Discord messages. Use MEE6 levels and check the level roles in Guild, or grant Guild points with **Adjust points**, a CSV import or the [REST API](/docs/api). **Is Guild an alternative to MEE6?** For roles based on holdings, accounts or points, yes. For moderation, welcome messages and social alerts, no; keep MEE6 or another bot for those. **Will the two bots fight over roles?** Only if both manage the same role. Give each role to one bot and put each bot's role above the roles it manages. **Is Guild free?** Discord gating, points systems and leaderboards are on the Free plan. Paid plans add hidden and secret roles, analytics, forms and more. See [Plans](/docs/plans). ## Sources MEE6 facts as of November 2026: - [MEE6 Premium](https://mee6.xyz/en/premium) - [MEE6 Free vs Premium plans comparison](https://help.mee6.xyz/en/articles/710936-mee6-free-vs-premium-plans-comparison) - [Understanding MEE6 services: from Premium to AI to Pro](https://help.mee6.xyz/en/articles/611792-understanding-mee6-services-from-premium-to-ai-to-pro) - [Getting started with MEE6](https://help.mee6.xyz/en/articles/605731-getting-started-with-mee6) - [How to set up the Levels plugin](https://help.mee6.xyz/en/articles/616234-how-to-set-up-levels-plugin) - [MEE6 isn't giving role rewards](https://help.mee6.xyz/en/articles/616235-mee6-isn-t-giving-role-rewards) - [How to make your MEE6 leaderboard public](https://help.mee6.xyz/en/articles/616232-how-to-make-your-mee6-leaderboard-public) - [Reaction roles as a verification gate](https://help.mee6.xyz/en/articles/620002-how-to-use-reaction-roles-as-a-verification-gate-for-your-community) - [How to automatically remove bad words](https://help.mee6.xyz/en/articles/615177-how-to-automatically-remove-bad-words-with-mee6) - [How to ban, kick or mute with MEE6](https://help.mee6.xyz/en/articles/615175-how-to-ban-kick-or-mute-with-mee6) - [Role too low in hierarchy](https://help.mee6.xyz/en/articles/605744-role-too-low-in-hierarchy) - [How to enable Web3 features on a server](https://help.mee6.xyz/en/articles/620038-how-to-enable-web3-features-on-a-server) - [How to use Web3 Gating](https://help.mee6.xyz/en/articles/620039-how-to-web3-gating) - [MEE6 Bot Maker plans](https://mee6.xyz/en/bot-maker/plans) Source: https://new.guild.xyz/docs/compare/mee6 --- # Guild and Combot compared > Combot moderates Telegram groups with captcha, anti-spam, analytics and automations; Guild decides who may join, letting in token and NFT holders and removing them when they stop qualifying. Guild and Combot both work inside Telegram groups, but they solve different problems. Combot is a group management bot: captcha, spam filters, the CAS anti-spam ban list, analytics, automations, scheduled posts and an AI assistant for Telegram groups and channels. Guild decides who may be in a group: members connect a wallet and their accounts on guild.xyz, and Guild's bot, @Guildxyz_bot, lets in those who meet a role's requirements, such as holding a token or NFT, and removes them when they stop. Combot's site doesn't list token or NFT gating, and Guild has no spam filters or chat analytics, so many crypto communities can run both. The Combot details on this page come from its own site, API docs and pricing, as of November 2026. Check the [sources](#sources) for anything that may have changed. ## At a glance | | Guild | Combot | |---|---|---| | What it is | A home for your community on guild.xyz: roles with requirements that unlock rewards, including Telegram groups | A bot for managing Telegram groups and channels: moderation, analytics, automations, scheduling and AI | | Platforms | Telegram, Discord and Guild's own pages | Telegram groups and channels | | Who gets in | Members who meet a role's requirements get a one-time invite link; the bot removes them when they lose the role ([guide](/docs/guides/token-gate-telegram)) | Anyone who joins, filtered by captcha, and banned on join if they are on the CAS spammer list | | Token and NFT gating | Yes, on the Free plan: token and NFT balances, wallet activity, contract queries and attestations on 50 EVM mainnets; holding history on Ethereum and Base | Not listed on its site | | Spam and raids | No message filtering; keeps out bots with requirements that are hard to fake, such as wallet age, account age or World ID ([guide](/docs/guides/keep-out-bots)) | Captcha, spam filters, warnings and bans, under-attack and read-only modes, mass removal by join date, name or username, and the CAS ban list | | Analytics | Member analytics on paid plans ([Members and analytics](/docs/members-and-analytics)) | Messages, members, joins, leaves and top users; 32 days of history free, 100 on Pro, 1 year on Business | | Points and XP | Points rewards, leaderboards and points requirements for higher roles | XP levels with custom ranks, reputation and a leaderboard Mini App | | AI agents | Guild MCP server (beta) at `https://mcp.guild.xyz/mcp`, free on every plan | Combot AI answers members in the chat (pay as you go, $1 per 1,000 tokens); an MCP server at `https://mcp.combot.org/mcp`, with tools gated by the chat's plan | | Pricing | Free plan; Starter $29, Pro $99, Growth $399 a month per guild | Free (€0); Pro €9.99 a month or €99.99 a year, for non-commercial use; Business €100 a month or €900 a year, with full API and commercial use | ## When to choose Guild - **Only holders should be in the group.** Guild checks each member's wallets against a role, gives a one-time invite link to those who qualify, and removes members who sell or transfer below the requirement. This is on the Free plan. See [Telegram groups](/docs/rewards/telegram). - **Membership depends on more than tokens.** A role can combine a token balance with an X account older than a date, a GitHub account, a World ID, an allowlist or another Guild role, using **All**, **Any one** or **Some**. See [Requirements](/docs/requirements). - **You want to stop farmers before they join.** Guild asks for history that costs money or time to fake, such as a first transaction long ago or a balance held without a break. - **You also run Discord or a website.** The same role can unlock a Discord role, a gated page or points as well as the Telegram group. ## When to choose Combot - **You need day-to-day moderation.** Combot filters spam, issues warnings and bans, takes member reports and can lock a chat in under-attack or read-only mode. Guild doesn't moderate messages. - **You want to block known spammers.** CAS bans users with a spam record the moment they join a CAS-secured group, before they post. - **You want chat analytics.** Combot tracks messages, joins, leaves and top users, and can combine several chats into one view. - **You post on a schedule or automate replies.** Combot's scheduler plans one-off and recurring posts, and its automations build auto-replies and custom commands from triggers and conditions. ## Using Combot and Guild together Give each bot its own job: Guild decides who may be in the group, and Combot keeps the conversation clean. 1. Add Combot to your group and set up captcha and moderation in Combot as usual. 2. Create a guild at [/create](/create). In the admin panel, open **Spaces & roles**, choose **New role**, then **Empty role**, and name it, for example "Holders". 3. Under **Who gets it**, press **Requirement**, pick **Token balance** or **NFT Balance**, choose the chain, paste the contract address, set the minimum and press **Add requirement**. To raise the bar for bots, add a wallet activity or account age requirement too. 4. Under **Unlocks**, press **Add reward** and pick **Telegram**. Press **Add Bot to Group** and add @Guildxyz_bot as an admin with **Invite Users via Link** and **Ban Users**. 5. Copy the Group ID the bot posts, paste it into **Group ID** and press **Add reward**. Send `/status` in the group to check the bot's rights. 6. Make the group private and stop sharing old invite links, so the only way in is the link Guild gives a qualifying member. 7. Share your guild's link instead of the group's link. Guild doesn't track people who were in the group before; ask them to join through the guild, then remove the rest yourself. Combot's mass removal can remove members by join date after you review the list. Combot can also remove members, for example with its inactivity kicker on Pro. Decide which removals each bot handles so members aren't surprised. ## FAQ **Does Combot do token gating?** Combot's site and API docs don't list token or NFT gating. Its features are moderation, anti-spam, analytics, automations, scheduling and AI. **Can Guild replace Combot?** Not for moderation. Guild controls who joins and who is removed when they stop qualifying, but it doesn't filter messages, run captcha or report chat activity. **Is Telegram gating free on Guild?** Yes. Telegram rewards and token and NFT requirements are on the Free plan. Paid plans add hidden and secret roles, member analytics and forms; see [Plans](/docs/plans). **Can an AI agent manage both?** Each has its own MCP server. Guild's, in beta and free on every plan, manages one guild with the permissions you grant, can't create or delete guilds, and stops within 15 seconds of being revoked. See [Agents](/docs/agents). ## Sources Combot facts as of November 2026: - [Combot home page: features, numbers and pricing](https://combot.org/) - [Combot API documentation, including the MCP server and plan per tool](https://combot.org/api) - [Combot Anti-Spam (CAS)](https://cas.chat/) Source: https://new.guild.xyz/docs/compare/combot --- # State of token-gated communities 2026 > How 1,327 active communities on Guild gate access: the requirements, chains and social checks they use, how they combine them, and where access goes. Aggregate data from 9 November 2026. How communities decide who gets in, measured across every guild on Guild. This report counts the requirements that 1,327 active communities have set on their roles: which tokens, chains and social accounts they check, how they combine them, and where the access goes. It is a snapshot taken on 9 November 2026 from Guild's production database. It contains aggregate counts only; no guild or member is named or identifiable. ## Key findings - **Three in four gated communities check something onchain.** 75.4% of active gated guilds have at least one onchain requirement: a token, an NFT, a native coin balance or wallet activity. - **NFTs are the most common gate.** 46.9% of active gated guilds check an NFT balance. An X follow comes second at 40.2%, ahead of ERC-20 token balances at 25.7%. - **Most onchain gating is not on Ethereum.** Of the guilds that gate on a chain, 46.1% use Ethereum, but 53.9% don't use Ethereum at all. Base (22.3%) and Polygon (21.7%) follow, then Arbitrum (15.1%) and Optimism (12.9%). - **Base-gated guilds hold the most members.** Guilds with a Base requirement hold 2.73 million memberships, slightly more than those with an Ethereum requirement (2.64 million). - **Almost half combine different kinds of checks.** 46.3% of active gated guilds mix at least two kinds of requirement, and 31.3% combine an onchain check with a social or community one. - **Bigger communities lean on social checks.** 90.7% of gated guilds with 10,000 or more members check X, Farcaster, GitHub, Discord or Telegram, against 48.4% of those under 1,000 members. The share that checks onchain barely changes with size. - **Discord is where access goes.** Of active gated guilds that give a reward, 77.2% give Discord roles and 8.5% give Telegram access. 2.7% do both. - **One NFT is usually enough.** About four in five NFT requirements ask for a single NFT from the collection. - **Nearly every member connects a wallet.** Of 7.05 million Guild accounts, 98.6% have connected a wallet, 54.8% Discord, 30.4% X and 7.9% Telegram. ## How we counted The counts come from Guild's production database on 9 November 2026, read in a read-only transaction. - **A gated guild** has at least one role with a real requirement. Roles open to anyone are left out. - **Allowlists are left out of the shares.** When older guilds moved to the current version of Guild in 2025, many of their roles were carried over as fixed address lists, so allowlist counts measure that migration more than how communities choose to gate. Every other requirement type is counted as it is configured today. - **Active** means 10 or more members. Of the 2,047 guilds with a real requirement, 1,327 have 10 or more members, and the percentages below use those 1,327 unless a section says otherwise. Together, the 2,047 guilds hold 8.26 million of the 10.0 million memberships on Guild. - **A guild counts once per category.** A guild with three NFT requirements on two roles counts once for "NFT balance". Shares add up to more than 100% because most guilds use several kinds of requirement. - **These are settings, not activity.** The report counts what communities ask for, not how many members passed each check. - **Membership counts** are the member totals Guild shows on each guild page. ## What communities gate on Share of the 1,327 active gated guilds using each kind of requirement: | Kind of requirement | Includes | Guilds | Share | |---|---|---|---| | Onchain | NFT, ERC-20 and native coin balances, wallet activity, contract calls, POAPs, attestations | 1,001 | 75.4% | | Social accounts | X, Farcaster, GitHub, email domain, World ID | 600 | 45.2% | | Community membership | Discord server or role, Discord account age, Telegram group | 441 | 33.2% | | Guild activity | A role in another guild, points, forms, connected accounts | 194 | 14.6% | | Tasks | Visit a link | 152 | 11.5% | 326 active gated guilds (24.6%) don't check anything onchain. They gate only on social accounts, community membership, guild activity or tasks. ## The most common requirements | Requirement | Guilds | Share | |---|---|---| | NFT balance | 623 | 46.9% | | X follow | 533 | 40.2% | | Discord member (server or role) | 347 | 26.1% | | ERC-20 token balance | 341 | 25.7% | | X profile (followers, name or bio) | 215 | 16.2% | | Visit a link | 152 | 11.5% | | Native coin balance | 145 | 10.9% | | Role in another guild | 129 | 9.7% | | Discord account age | 116 | 8.7% | | Contract call | 82 | 6.2% | | Transaction count | 73 | 5.5% | | X repost | 55 | 4.1% | | X like | 52 | 3.9% | | Connected account | 49 | 3.7% | | POAP | 48 | 3.6% | | First transaction date | 45 | 3.4% | | Farcaster follow | 44 | 3.3% | | Specific NFT token IDs | 37 | 2.8% | Among the 1,001 guilds with an onchain requirement, 63.5% check NFTs, 34.1% ERC-20 tokens, 15.0% a native coin balance, 11.9% wallet activity such as transaction counts or the date of the first transaction, 8.2% a contract call and 7.8% a POAP, an attestation or a Galxe campaign. ## Chains 978 active gated guilds have at least one requirement tied to a chain. Share of those guilds using each chain: | Chain | Guilds | Share | |---|---|---| | Ethereum | 451 | 46.1% | | Base | 218 | 22.3% | | Polygon | 212 | 21.7% | | Arbitrum | 148 | 15.1% | | Optimism | 126 | 12.9% | | BNB Chain | 104 | 10.6% | | Avalanche | 66 | 6.7% | | zkSync Era | 60 | 6.1% | | Fantom | 30 | 3.1% | | Cronos | 28 | 2.9% | | Linea | 22 | 2.2% | | Sonic | 21 | 2.1% | - **53.9% don't use Ethereum at all.** 527 of the 978 guilds gate only on other chains. - **29.7% gate on more than one chain.** A handful of guilds check 10 or more chains at once. - **Testnets are rare.** About 1% of chain-gated guilds use Sepolia or Base Sepolia. ### By members Counting members instead of guilds changes the order. The memberships held by all gated guilds with at least one requirement on each chain: | Chain | Memberships | |---|---| | Base | 2.73 million | | Ethereum | 2.64 million | | Polygon | 1.68 million | | Optimism | 1.29 million | | Arbitrum | 1.26 million | | Avalanche | 0.92 million | | BNB Chain | 0.83 million | A guild with requirements on several chains counts toward each, so the column doesn't add up to a total. ## Combining requirements Most communities don't rely on a single signal. - **Across a guild:** 46.3% of active gated guilds use at least two kinds of requirement, and 31.3% pair an onchain check with a social or community one. 41.3% gate only on onchain data. - **Within a role:** of 7,894 gated roles, 63.7% have one requirement, 18.2% have two and 18.1% have three or more. 15.1% mix kinds within the same role, for example an NFT plus an X follow. - **Negative checks are rare:** 0.9% of requirements are inverted, such as "doesn't hold this token". How a role combines its requirements is set with **All**, **Any one** or **Some**; see [Requirements](/docs/requirements). ## Bigger communities lean on social checks | Members | Gated guilds | Check onchain | Check social or community accounts | |---|---|---|---| | 10–999 | 978 | 76.9% | 48.4% | | 1,000–9,999 | 274 | 71.5% | 69.0% | | 10,000 or more | 75 | 70.7% | 90.7% | The share checking onchain stays between 70% and 77% at every size. The share checking X, Farcaster, GitHub, Discord or Telegram almost doubles from the smallest group to the largest. Large communities add account checks on top of holdings rather than replacing them. ## Where access goes Of the 1,287 active gated guilds with at least one reward: | Reward | Guilds | Share | |---|---|---| | Discord role | 993 | 77.2% | | Points | 174 | 13.5% | | Telegram group | 109 | 8.5% | | Secret (a code or link only qualifying members see) | 67 | 5.2% | | NFT | 42 | 3.3% | Only 35 guilds (2.7%) give both Discord roles and Telegram access. Most communities run one chat platform and gate it. ## The accounts members connect Of 7.05 million Guild accounts: | Account | Connected | Share | |---|---|---| | Wallet (EVM) | 6.95 million | 98.6% | | Discord | 3.86 million | 54.8% | | X | 2.15 million | 30.4% | | Email | 1.10 million | 15.6% | | GitHub | 0.67 million | 9.4% | | Telegram | 0.55 million | 7.9% | | Farcaster | 72 thousand | 1.0% | A requirement can only be checked against an account the member has connected, so these shares also bound how many people can meet each kind of check. ## What this means when you set up gating - **Start with what your members already hold.** NFT and token balances are the most common gates because they are the simplest to explain. See [Tokens and NFTs](/docs/requirements/tokens-and-nfts). - **Gate on the chain your community lives on.** Most chain-gated guilds aren't on Ethereum. See the guides for [Base](/docs/guides/token-gate-base), [Arbitrum](/docs/guides/token-gate-arbitrum), [Optimism](/docs/guides/token-gate-optimism) and [Polygon](/docs/guides/token-gate-polygon), and the full list of [Supported chains](/docs/chains). - **Add an account check as you grow.** Large communities pair holdings with X, Discord or GitHub checks. See [X](/docs/requirements/x) and [Discord](/docs/requirements/discord). - **Pick one chat platform first.** Discord dominates; Telegram works the same way. See [Token-gate a Discord server](/docs/guides/token-gate-discord) and [Token-gate a Telegram group](/docs/guides/token-gate-telegram). ## Citing this report Cite it as: Guild, "State of token-gated communities 2026", 9 November 2026, https://guild.xyz/docs/research/state-of-token-gating-2026. The figures are updated each quarter on this page, and each update keeps its date. Source: https://new.guild.xyz/docs/research/state-of-token-gating-2026 --- # Agents (MCP) > Let Claude, Codex or any MCP agent run your guild. The Guild MCP server lets an AI agent run your guild for you. Claude, Claude Code, Codex, Cursor and any other agent that speaks the Model Context Protocol (MCP) can connect to it at `https://mcp.guild.xyz/mcp`, then create roles, set up requirements and rewards, edit pages, read analytics and more, by asking in plain language. It's free on every plan. Agents are in **beta**: the tools an agent can use and what they return may still change. Changes an agent makes to guild settings, roles, points and form reviews are in the audit log, and you can revoke a connection at any time. ## How it works You connect an agent once, from the agent. It sends you to Guild to sign in, you choose a guild and what the agent may do there, and from then on the agent acts as you, in that guild only, within those limits. Its changes to guild settings, roles, points and form reviews appear in the guild's **Audit log**, marked as made by that agent on your behalf. Changes to pages, requirements, reward settings, spaces and proposals are not in the audit log yet. Ask it things like "Create a Holders role for anyone with at least 1 of our NFTs on Base". The admin's **Agents** page has more examples under **Then ask it**. ## Connect your agent The server is `https://mcp.guild.xyz/mcp`. ### Claude 1. In Claude, open Settings, then Connectors, and add a custom connector with this link: ``` https://mcp.guild.xyz/mcp ``` 2. Press Connect and sign in to Guild. ### Claude Code 1. Run this in your terminal: ``` claude mcp add --transport http guild https://mcp.guild.xyz/mcp ``` 2. In Claude Code, type /mcp, choose guild and sign in. ### Codex 1. Add this to ~/.codex/config.toml: ``` [mcp_servers.guild] url = "https://mcp.guild.xyz/mcp" ``` 2. Sign in from your terminal: ``` codex mcp login guild ``` ### Other 1. Add this link where your assistant connects to MCP servers: ``` https://mcp.guild.xyz/mcp ``` 2. Sign in to Guild when it asks. ## Connect from Claude 1. In Claude, open **Settings**, then **Connectors**, and add a custom connector with the link `https://mcp.guild.xyz/mcp`. 2. Press **Connect** and sign in to Guild. The admin's **Agents** page has the same two steps for Claude Code, Codex and other agents. ## Build a progression path A role can require another role, so members climb from one to the next: Newcomer, then Regular, then Veteran. Ask your agent "How do I link roles in a progression path?", or tell it the levels you want. It creates the roles, makes each one require the role before it, and puts them on the page in order. You can also ask it to reorder the roles on any page. ## Change how a page looks Your agent can set everything on the Spaces & roles screen for a page. That covers its layout (list, cards, grid, path, spotlight or comparison, with each layout's options), the order of its roles, who can see it (everyone, holders of certain roles, or admins only), its place in the guild's navigation, and whether it carries a feed, announcements or a chat. Try "Show the Levels page as a path" or "Only let Builders see the Alpha page". ## Run quests An agent can create a quest with its tasks, points and dates, edit or archive it, add a leaderboard with prizes over a campaign's window, and read the standings. Try "Create a quest: repost our launch post for 100 XP until 12 December, and a 30-day leaderboard with prizes for the top 10". It cannot complete a quest for you. See [Run quests with points and a leaderboard](/docs/guides/quests). ## More your agent can manage Beyond roles and pages, an agent can claim or release your vanity alias, set the animated banner, add or archive custom emoji, create and edit your launch page (and launch now), change referral settings, read the referral leaderboard, manage guild profile items and set a role's member limit or reserved numbers. Reading or changing individual members' data needs the member permissions: point balances and the points ledger, granting or deducting points, pre-registrations, member numbers and who voted on a proposal. Agents still never cast votes. ## Approve the connection When you sign in from the agent, Guild opens a consent page on guild.xyz that shows which app is asking and where it will return. 1. Tick the permissions to grant. The ones the app asked for are ticked already; permissions that read member data are never pre-ticked, so you add them on purpose. 2. Pick the guild. You can only pick a guild you own or administer. 3. Press **Connect app**. ## One connection, one guild A connection manages exactly one guild, chosen when you approve it, and that can't be changed later. To manage a second guild, connect the agent again and pick the other guild. You must still be an owner or admin of the guild whenever the agent acts; if you lose admin rights, so does the agent. ## Permissions You choose what an agent may do when you approve it, and can narrow it later from the admin's **Agents** page. These are the permissions the server knows today: | Permission | Lets the agent | Actions | | --- | --- | --- | | **Read guilds** `guild:read` | Read the guild's settings, pages, roles, requirements, rewards, forms, spaces, analytics and audit log | 46 | | **Manage guilds** `guild:write` | Change the guild's settings, pages, roles, requirements, rewards, forms and spaces, and post in its spaces as you | 58 | | **Read member data** `members:read` | Read members, their timelines, form submissions and space conversations, which include personal data | 16 | | **Moderate members** `members:write` | Review form submissions and moderate members in spaces: resolve reports, mute and ban | 8 | ## What agents can never do Whatever you allow, the server refuses these: - Agents cannot delete a guild. - An agent manages the one guild it is connected to; create the guild in Guild, then connect the agent to it. - Agents cannot manage guild API keys. - Agents cannot reset a points platform. - Agents cannot manage agent access. - Agents cannot join guilds for their user. - Agents cannot leave guilds for their user. - Agents cannot claim roles for their user. - Agents cannot complete quests for their user. - Agents cannot fill in forms for their user. - Agents cannot export to their user's Google account; use the CSV export. - Agents cannot react, report or mark messages read for their user. - Agents cannot vote for their user. - Agents cannot change their user's profile level. - Profile levels are read by Guild's requirement service only. - Agents cannot use Guild staff tools. - Agents cannot change the guild's owner, admins, plan or verification. ## Manage and revoke agents The admin's **Agents** page lists every agent that can act on the guild under **Connected agents**, whoever connected it, with its permissions, who connected it and when it was last used. You can rename your own connections, take permissions away, or **Revoke** them. Revoking stops the agent within 15 seconds; the changes it already made stay, and the audit log keeps them. To give an agent more permissions, connect it again. Connections made by other admins are shown read-only: only the admin who connected an agent can rename it or change its permissions. The guild owner can also revoke any admin's connection. ## Access tokens for headless use Scripts, CI and agents that can't open a browser use an access token instead of signing in. On the **Agents** page, open **For developers** and press **Access token**; name it, pick its permissions and an expiry of 30, 90 or 365 days. The token works for this guild only, and it's shown once: Guild keeps only a fingerprint of it. Send it as a Bearer token to the server URL. ## Every action The Guild API routes an agent can call, and the permission each needs: | Method | Path | Permission | | --- | --- | --- | | GET | `/guilds` | `guild:read` | | GET | `/guilds/:guildIdLike` | `guild:read` | | GET | `/pages` | `guild:read` | | GET | `/pages/:pageIdLike` | `guild:read` | | GET | `/pages/:pageIdLike/audience` | `guild:read` | | GET | `/roles` | `guild:read` | | GET | `/roles/:roleId` | `guild:read` | | GET | `/roles/:roleId/member-count` | `guild:read` | | GET | `/requirement-integrations` | `guild:read` | | GET | `/requirement-integrations/:integrationId` | `guild:read` | | GET | `/requirements` | `guild:read` | | GET | `/requirements/:requirementId` | `guild:read` | | GET | `/rewards/:rewardId` | `guild:read` | | GET | `/guilds/:guildIdLike/audit-log` | `guild:read` | | GET | `/analytics/:guildIdLike/campaigns` | `guild:read` | | GET | `/analytics/:guildIdLike/members` | `guild:read` | | GET | `/analytics/:guildIdLike/roles` | `guild:read` | | GET | `/analytics/:guildIdLike/page-views` | `guild:read` | | GET | `/analytics/:guildIdLike/reward-claims` | `guild:read` | | GET | `/analytics/:guildIdLike/activity-summary` | `guild:read` | | GET | `/analytics/:guildIdLike/activity-heatmap` | `guild:read` | | GET | `/analytics/:guildIdLike/activity-timeseries` | `guild:read` | | GET | `/v1/agents/me/guilds` | `guild:read` | | GET | `/v1/agents/scopes` | `guild:read` | | GET | `/v1/forms` | `guild:read` | | GET | `/v1/forms/overview` | `guild:read` | | GET | `/v1/forms/:formId` | `guild:read` | | GET | `/v1/forms/:formId/pages/:pageId` | `guild:read` | | GET | `/v1/forms/:formId/pages/:pageId/fields/:fieldId` | `guild:read` | | GET | `/spaces/guild/:guildId` | `guild:read` | | GET | `/spaces/guild/:guildId/settings` | `guild:read` | | GET | `/spaces/:pageId` | `guild:read` | | GET | `/spaces/:pageId/access` | `guild:read` | | GET | `/voting/guild/:guildId` | `guild:read` | | GET | `/voting/proposals/:proposalId` | `guild:read` | | GET | `/guilds/:guildIdLike/boosts` | `guild:read` | | GET | `/guilds/:guildIdLike/custom-emoji` | `guild:read` | | GET | `/guilds/:guildIdLike/launch` | `guild:read` | | GET | `/guilds/:guildIdLike/referrals/settings` | `guild:read` | | GET | `/guilds/:guildIdLike/referrals/leaderboard` | `guild:read` | | GET | `/guilds/:guildIdLike/profile-items` | `guild:read` | | GET | `/profile-items/catalog` | `guild:read` | | GET | `/roles/claims` | `guild:read` | | GET | `/roles/:roleId/claim-policy` | `guild:read` | | GET | `/v1/guilds/:guildIdLike/quests` | `guild:read` | | GET | `/v1/quest-leaderboards/:id` | `guild:read` | | POST | `/guilds/:guildIdLike/boosts/booster-role` | `guild:write` | | PUT | `/guilds/:guildIdLike/boosts/animated-banner` | `guild:write` | | PUT | `/guilds/:guildIdLike/boosts/vanity` | `guild:write` | | DELETE | `/guilds/:guildIdLike/boosts/vanity` | `guild:write` | | POST | `/guilds/:guildIdLike/custom-emoji` | `guild:write` | | DELETE | `/guilds/:guildIdLike/custom-emoji/:emojiId` | `guild:write` | | PUT | `/guilds/:guildIdLike/launch` | `guild:write` | | DELETE | `/guilds/:guildIdLike/launch` | `guild:write` | | POST | `/guilds/:guildIdLike/launch/launch-now` | `guild:write` | | PUT | `/guilds/:guildIdLike/referrals/settings` | `guild:write` | | POST | `/guilds/:guildIdLike/profile-items` | `guild:write` | | PATCH | `/guilds/:guildIdLike/profile-items/:itemId` | `guild:write` | | DELETE | `/guilds/:guildIdLike/profile-items/:itemId` | `guild:write` | | PUT | `/roles/:roleId/claim-policy` | `guild:write` | | POST | `/v1/guilds/:guildIdLike/quests` | `guild:write` | | PATCH | `/v1/guilds/:guildIdLike/quests/:questId` | `guild:write` | | DELETE | `/v1/guilds/:guildIdLike/quests/:questId` | `guild:write` | | POST | `/v1/guilds/:guildIdLike/quest-leaderboards` | `guild:write` | | PUT | `/guilds/:guildIdLike` | `guild:write` | | POST | `/pages` | `guild:write` | | PUT | `/pages/:pageIdLike` | `guild:write` | | PUT | `/pages/:pageIdLike/roles/order` | `guild:write` | | PUT | `/pages/:pageIdLike/audience` | `guild:write` | | PUT | `/guilds/:guildIdLike/pages/order` | `guild:write` | | DELETE | `/pages/:pageIdLike` | `guild:write` | | POST | `/roles` | `guild:write` | | PUT | `/roles/:roleId` | `guild:write` | | DELETE | `/roles/:roleId` | `guild:write` | | POST | `/requirements` | `guild:write` | | PUT | `/requirements/:requirementId` | `guild:write` | | DELETE | `/requirements/:requirementId` | `guild:write` | | POST | `/requirements/:requirementId/replace` | `guild:write` | | POST | `/rewards` | `guild:write` | | PUT | `/rewards/:rewardId` | `guild:write` | | DELETE | `/rewards/:rewardId` | `guild:write` | | POST | `/platforms` | `guild:write` | | PUT | `/platforms/:platformId` | `guild:write` | | DELETE | `/platforms/:platformId` | `guild:write` | | POST | `/v1/forms` | `guild:write` | | PUT | `/v1/forms/:formId` | `guild:write` | | DELETE | `/v1/forms/:formId` | `guild:write` | | POST | `/v1/forms/:formId/pages` | `guild:write` | | PUT | `/v1/forms/:formId/pages` | `guild:write` | | PUT | `/v1/forms/:formId/pages/:pageId` | `guild:write` | | DELETE | `/v1/forms/:formId/pages/:pageId` | `guild:write` | | POST | `/v1/forms/:formId/pages/:pageId/fields` | `guild:write` | | PUT | `/v1/forms/:formId/pages/:pageId/fields` | `guild:write` | | PUT | `/v1/forms/:formId/pages/:pageId/fields/:fieldId` | `guild:write` | | DELETE | `/v1/forms/:formId/pages/:pageId/fields/:fieldId` | `guild:write` | | PUT | `/spaces/guild/:guildId/settings` | `guild:write` | | PUT | `/spaces/:pageId` | `guild:write` | | DELETE | `/spaces/:pageId` | `guild:write` | | POST | `/spaces/:pageId/messages` | `guild:write` | | PATCH | `/spaces/:pageId/messages/:messageId` | `guild:write` | | DELETE | `/spaces/:pageId/messages/:messageId` | `guild:write` | | POST | `/spaces/:pageId/messages/:messageId/:action` | `guild:write` | | POST | `/voting/guild/:guildId/proposals` | `guild:write` | | POST | `/voting/proposals/:proposalId/cancel` | `guild:write` | | GET | `/voting/proposals/:proposalId/votes` | `members:read` | | GET | `/guilds/:guildIdLike/launch/preregistrations` | `members:read` | | GET | `/roles/:roleId/claims` | `members:read` | | GET | `/guilds/:guildIdLike/points/:platformId/transactions` | `members:read` | | GET | `/guilds/:guildIdLike/points/:platformId/balance/:userId` | `members:read` | | GET | `/crm/:guildIdLike` | `members:read` | | GET | `/crm/:guildIdLike/members/:userId/timeline` | `members:read` | | GET | `/v1/forms/:formId/submissions` | `members:read` | | GET | `/v1/forms/:formId/submissions/:submissionId` | `members:read` | | GET | `/v1/forms/:formId/csv` | `members:read` | | GET | `/spaces/:pageId/messages` | `members:read` | | GET | `/spaces/:pageId/messages/:messageId/thread` | `members:read` | | GET | `/spaces/:pageId/participants` | `members:read` | | GET | `/spaces/guild/:guildId/restrictions` | `members:read` | | GET | `/spaces/guild/:guildId/reports` | `members:read` | | GET | `/spaces/guild/:guildId/moderation-log` | `members:read` | | POST | `/guilds/:guildIdLike/points/:platformId/transactions` | `members:write` | | POST | `/guilds/:guildIdLike/points/:platformId/transactions/bulk` | `members:write` | | PUT | `/roles/:roleId/claims/:number` | `members:write` | | DELETE | `/roles/:roleId/claims/:number` | `members:write` | | PATCH | `/v1/forms/:formId/submissions/:submissionId/review` | `members:write` | | POST | `/spaces/guild/:guildId/restrictions` | `members:write` | | DELETE | `/spaces/guild/:guildId/restrictions/:id` | `members:write` | | POST | `/spaces/guild/:guildId/reports/:id/resolve` | `members:write` | Source: https://new.guild.xyz/docs/agents --- # REST API > Every endpoint of the public Guild API. The Guild REST API lets your own code read a guild's roles and members, check a user's memberships, and grant or deduct points. Use it for integrations that run without a person in the loop: a game server that awards points, a bot that checks whether someone holds a role, a dashboard of members. ## REST API or an agent If you want to manage a guild by asking in plain language, or let an AI agent set up roles, requirements and rewards, use the [Guild MCP server](/docs/agents) instead. It's free on every plan and can do much more than the REST API's endpoints. The REST API is for programs you write yourself, calling a fixed set of endpoints. ## Get an API key API keys belong to a guild. 1. In the admin panel, open **Agents**. 2. At the bottom of the page, open **For developers**. 3. Press **Create key**, give it a **Key name**, and optionally limit it to the endpoints it needs. 4. Copy the key. It's shown in full only once. Send the key as a Bearer token in the `Authorization` header. Keep it secret: anyone with the key can call the API as your guild. API keys need the Pro plan or above. Growth and Enterprise get higher rate limits. See [Plans](/docs/plans). ## Interactive reference The live, interactive reference, where you can try requests, is at https://api.guild.xyz/docs. The endpoints are also listed below. ## Verified person (staff) ### The review queue ``` GET https://api.guild.xyz/admin/person-verification/queue ``` Superadmins only. Oldest first. `status` is `PENDING`, `IN_REVIEW`, `NEEDS_INFO` or `DECIDED`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `status` (optional) | query | Tab. Default `PENDING`. string | | `cursor` (optional) | query | From `nextCursor`. string | | `limit` (optional) | query | 1 to 100. Default 50. integer (int64) | **Returns** 200: A page. (QueuePageBody) | Field | Type | Description | | --- | --- | --- | | `items` | object[] | `QueueItem[]`. | | `nextCursor` (optional) | string | | - `401` Signed out. - `403` Not staff. - `422` Validation failed. ### A request with the reviewer signals ``` GET https://api.guild.xyz/admin/person-verification/requests/{requestId} ``` Superadmins only. `refresh=1` recomputes the signals, at most once every 10 minutes (a newer stored report is returned instead). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requestId` | path | Request id (UUID). string | | `refresh` (optional) | query | `0` or `1`. string | **Returns** 200: The detail. (RequestDetailBody) | Field | Type | Description | | --- | --- | --- | | `audit` | object[] | | | `history` | object[] | | | `member` | object | | | `request` | object | | | `signals` (optional) | object or SignalReport | | | `signalsComputedAt` (optional) | string | | - `401` Signed out. - `403` Not staff, or `SELF_REVIEW`. - `404` No such request. ### Claim a request ``` POST https://api.guild.xyz/admin/person-verification/requests/{requestId}/claim ``` Sets `IN_REVIEW` with a 30-minute soft lock. Another reviewer's live claim gives 409 `CLAIMED` with `claimedBy` and `claimedUntil`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requestId` | path | Request id (UUID). string | **Returns** 200: The request. (object) - `401` Signed out. - `403` Not staff, or `SELF_REVIEW`. - `404` No such request. - `409` `CLAIMED` or `NOT_CLAIMABLE`. ### Decide a request ``` POST https://api.guild.xyz/admin/person-verification/requests/{requestId}/decision ``` `APPROVED` grants the badge for 365 days and pushes it to the protocol. `staffNote` is required (1 to 2000 characters); `NEEDS_INFO` also requires `memberMessage`. Every outcome writes an audit row and notifies the member. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requestId` | path | Request id (UUID). string | **Body** (DecisionBody): | Field | Type | Description | | --- | --- | --- | | `memberMessage` (optional) | string | Shown to the member. At most 500 characters (1000 for `NEEDS_INFO`, where it is required). | | `outcome` | string | `APPROVED`, `REJECTED` or `NEEDS_INFO`. | | `reasonCategory` (optional) | string | | | `staffNote` | string | 1 to 2000 characters. Staff only. | **Returns** 200: The request. (object) - `401` Signed out. - `403` Not staff, or `SELF_REVIEW`. - `404` No such request. - `409` `CLAIMED` or `NOT_OPEN`. - `422` Validation failed. ### A member's badge, requests and audit ``` GET https://api.guild.xyz/admin/person-verification/users/{userId} ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | User id (UUID). string | **Returns** 200: The member's verification. (UserVerificationBody) | Field | Type | Description | | --- | --- | --- | | `audit` | object[] | | | `badge` (optional) | object | | | `requests` | object[] | | - `401` Signed out. - `403` Not staff. ### Grant a badge ``` POST https://api.guild.xyz/admin/person-verification/users/{userId}/grant ``` For staff cases. Writes a `GRANTED` audit row and pushes the badge. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | User id (UUID). string | **Body** (GrantBody): | Field | Type | Description | | --- | --- | --- | | `note` | string | | | `validUntil` (optional) | string | Defaults to one year from now. | **Returns** 200: The badge. (object) - `401` Signed out. - `403` Not staff, or `SELF_REVIEW`. - `422` Validation failed. ### Revoke a badge ``` POST https://api.guild.xyz/admin/person-verification/users/{userId}/revoke ``` Pushes `verified = false` (the protocol then removes the roles and rewards it gated) and notifies the member. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | User id (UUID). string | **Body** (RevokeBody): | Field | Type | Description | | --- | --- | --- | | `reason` | string | | | `reasonCategory` (optional) | string | | **Returns** 200: The badge. (object) - `401` Signed out. - `403` Not staff, or `SELF_REVIEW`. - `404` No active badge. - `422` Validation failed. ## Analytics ### Search guild/user events ``` GET https://api.guild.xyz/analytics/events ``` Search the raw analytics event log. Provide `userId` to see one user's events (defaults to the caller; querying another user's `userId` without a `guildId` requires being a superAdmin), `guildId` to see one guild's events (requires being an admin, owner, or superAdmin of that guild), or both. SuperAdmins may omit both to query platform-wide; other callers default to their own userId when neither is given. `roleId`, `requirementId`, and `rewardId` further filter within a `guildId` search. `hasMore` indicates whether more rows exist beyond `limit`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` (optional) | query | Filter to one user. Defaults to the caller; another user's id requires guildId (with admin/owner/superAdmin access to it) or superAdmin. string (uuid) | | `guildId` (optional) | query | Filter to one guild. Requires being an admin, owner, or superAdmin of it. string (uuid) | | `roleId` (optional) | query | Filter to one role. Requires guildId. string (uuid) | | `requirementId` (optional) | query | Filter to one requirement. Requires guildId. string (uuid) | | `rewardId` (optional) | query | Filter to one reward. Requires guildId. string (uuid) | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | | `eventType` (optional) | query | Filter to one event type, e.g. `join_guild`. string | | `limit` (optional) | query | Max rows to return, 1-10000. Defaults to 10000. integer (int64) | **Returns** 200: Matching events. (AnalyticsGuildEventsResponse) | Field | Type | Description | | --- | --- | --- | | `events` | AnalyticsGuildEvent[] | | | `hasMore` | boolean | `true` if more rows exist beyond `limit`. | | `limit` | integer (int64) | The effective `limit` that was applied. | - `400` `userId` or `guildId` is required unless the caller is a superAdmin; `guildId` is required when filtering by `roleId`, `requirementId`, or `rewardId`. - `401` Not logged in. - `403` `userId` names another user and `guildId` is absent and the caller is not a superAdmin; or `guildId` is present and the caller is not an admin, owner, or superAdmin of it. - `404` No guild matches the requested guildId. - `422` Request validation failed: `userId`/`guildId`/`roleId`/`requirementId`/`rewardId` is not a UUID, `startDate`/`endDate`/`eventType` is not a string, or `limit` is not a positive integer at most 10000. - `429` Rate limit hit. See the Retry-After header. ### Get a user's activity heatmap ``` GET https://api.guild.xyz/analytics/heatmap ``` Daily activity counts for a user between `startDate` and `endDate` (both default to the last 365 days — wider than the other analytics endpoints, which default to 7). Defaults to the authenticated user; pass `userId` to view another user's activity instead — requires being that user or a superAdmin. `eventType` is accepted for parity with `/analytics/profile` but is not currently applied to the query — every event type is counted. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` (optional) | query | Whose activity to fetch. Defaults to the authenticated user; another user's id requires superAdmin. string (uuid) | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 365 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | | `eventType` (optional) | query | Accepted but currently has no effect on this endpoint's result. string | **Returns** 200: Daily activity counts. (AnalyticsUserActivityHeatmapResponse) | Field | Type | Description | | --- | --- | --- | | `activities` | AnalyticsActivityHeatmapDay[] | | - `400` No `userId` was given and no user is authenticated. - `401` Not logged in. - `403` `userId` names another user and the caller is not a superAdmin. - `422` Request validation failed: `userId` is not a UUID, or `startDate`/`endDate`/`eventType` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Get a user's profile activity ``` GET https://api.guild.xyz/analytics/profile ``` Metadata-enriched event history for a user (each event's guild, role, requirement, and reward is resolved to a short display record where still available) between `startDate` and `endDate` (both default to the last 7 days). Defaults to the authenticated user; pass `userId` to view another user's activity instead — requires being that user or a superAdmin. Never fails on an upstream data error — falls back to an empty `events` list. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` (optional) | query | Whose activity to fetch. Defaults to the authenticated user; another user's id requires superAdmin. string (uuid) | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | | `eventType` (optional) | query | Filter to one event type, e.g. `join_guild`. string | **Returns** 200: The user's enriched event history. (AnalyticsUserProfileResponse) | Field | Type | Description | | --- | --- | --- | | `events` | AnalyticsProfileEvent[] | | - `400` No `userId` was given and no user is authenticated. - `401` Not logged in. - `403` `userId` names another user and the caller is not a superAdmin. - `422` Request validation failed: `userId` is not a UUID, or `startDate`/`endDate`/`eventType` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Search rewards across all guilds ``` GET https://api.guild.xyz/analytics/rewards ``` Search rewards platform-wide, filtered to a single `type` (required, for query performance) and to rewards created within the last `days` (default 90). Public endpoint; no authentication required. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `type` | query | Reward type filter. One of `PERMISSION`, `DISCORD`, `POINTS`, `SECRET`, `NFT`, `TELEGRAM`, `FORM2`, `PIN`, `VOTING`, `PROFILE_ITEM`. Required. string | | `search` (optional) | query | Free-text search term. string | | `tags` (optional) | query | Only rewards whose guild has one of these tags. string[] | | `chain` (optional) | query | Only rewards on this chain (NFT/PIN rewards). string | | `isVerified` (optional) | query | Only rewards belonging to verified guilds. boolean | | `sortBy` (optional) | query | One of `createdAt`, `updatedAt`, `claimCount`, `guildMemberCount`. Defaults to `createdAt`. string | | `sortOrder` (optional) | query | One of `ASC`, `DESC`. Defaults to `DESC`. string | | `rewardIds` (optional) | query | Restrict the search to these reward ids. string[] | | `limit` (optional) | query | 0-100. Defaults to 32. integer (int64) | | `offset` (optional) | query | Defaults to 0. integer (int64) | | `days` (optional) | query | Only rewards created within this many days. Must be positive; defaults to 90. integer (int64) | **Returns** 200: Matching rewards. (AnalyticsRewardSearchResponse) | Field | Type | Description | | --- | --- | --- | | `pagination` | AnalyticsRewardSearchPagination | The `pagination` field of `GET /analytics/rewards`. | | `rewards` | AnalyticsRewardSearchItem[] | | | `total` | integer (int64) | | - `422` Request validation failed: `type` is missing or not a valid reward type, `sortBy`/`sortOrder` is not one of the allowed values, `limit` is outside 0-100, `offset` is outside 0-10000000, or `days` is not a positive integer. - `429` Rate limit hit. See the Retry-After header. ### List trending guilds ``` GET https://api.guild.xyz/analytics/trending ``` Verified guilds ranked by join count over `period`. Public endpoint; no authentication required. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `period` | query | One of `today`, `week`, `month`. Required. string | **Returns** 200: Trending guilds, most joins first. (AnalyticsTrendingGuild[]) - `422` Request validation failed: `period` is missing or not one of `today`, `week`, `month`. - `429` Rate limit hit. See the Retry-After header. ### Get guild activity heatmap ``` GET https://api.guild.xyz/analytics/{guildIdLike}/activity-heatmap ``` Guild activity event counts (joins, leaves, role/reward grants and losses, identity connects/disconnects, form submits, points grants/revokes) bucketed by day of week and hour of day, between `startDate` and `endDate` (both default to the last 7 days). Requires the guild's subscription to include the `analytics` feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id. string (uuid) | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | **Returns** 200: Activity heatmap buckets. (AnalyticsGuildActivityHeatmapResponse) | Field | Type | Description | | --- | --- | --- | | `activities` | AnalyticsGuildActivityHeatmapBucket[] | | - `401` Not logged in. - `403` Not a guild admin, owner, or superAdmin; or the guild's subscription lacks the "analytics" feature. - `404` No guild matches guildIdLike. - `422` Request validation failed: `guildIdLike` is not a UUID, or `startDate`/`endDate` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Get guild activity summary ``` GET https://api.guild.xyz/analytics/{guildIdLike}/activity-summary ``` Event-type counts and total POINTS granted for the guild between `startDate` and `endDate` (both default to the last 7 days). Requires the guild's subscription to include the `analytics` feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id. string (uuid) | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | **Returns** 200: Activity summary. (AnalyticsGuildActivitySummaryResponse) | Field | Type | Description | | --- | --- | --- | | `pointsSum` | integer (int64) | Total POINTS granted (`grant_points` events) in range. | | `summaries` | AnalyticsGuildActivitySummaryItem[] | | - `401` Not logged in. - `403` Not a guild admin, owner, or superAdmin; or the guild's subscription lacks the "analytics" feature. - `404` No guild matches guildIdLike. - `422` Request validation failed: `guildIdLike` is not a UUID, or `startDate`/`endDate` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Get guild activity time series ``` GET https://api.guild.xyz/analytics/{guildIdLike}/activity-timeseries ``` Time series of total/joins/roles/rewards event counts, bucketed by `interval` (default `minute`) between `startDate` and `endDate` (both default to the last 7 days). Requires the guild's subscription to include the `analytics` feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id. string (uuid) | | `interval` (optional) | query | One of `minute`, `hour`, `day`, `week`, `month`. Defaults to `minute`. string | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | **Returns** 200: Activity time series buckets. (AnalyticsGuildActivityTimeSeriesResponse) | Field | Type | Description | | --- | --- | --- | | `buckets` | AnalyticsGuildActivityTimeSeriesBucket[] | | - `401` Not logged in. - `403` Not a guild admin, owner, or superAdmin; or the guild's subscription lacks the "analytics" feature. - `404` No guild matches guildIdLike. - `422` Request validation failed: `guildIdLike` is not a UUID, `interval` is not one of `minute`, `hour`, `day`, `week`, `month`, or `startDate`/`endDate` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Compare native guild campaigns ``` GET https://api.guild.xyz/analytics/{guildIdLike}/campaigns ``` Campaigns are the guild's pages and current role assignments. Returns exact distinct role earners, grant/loss events, browser visitors, current membership snapshots, daily activity and safely attributable reward claims. The range is inclusive start, exclusive end, defaults to 30 days and is bounded to 90 days. Missing membership snapshots and shared reward claims are null. Requires guild administrator permissions and the analytics feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild UUID or URL name. string | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 30 days before endDate. string | | `endDate` (optional) | query | ISO 8601 exclusive range end. Defaults to the current minute. string | **Returns** 200: Campaign measurements with source and freshness notes. (CampaignAnalyticsResponse) | Field | Type | Description | | --- | --- | --- | | `campaigns` | CampaignAnalytics[] | | | `dataSource` | string | | | `generatedAt` | string | | | `guildId` | string | | | `limits` | CampaignLimits | | | `notes` | string[] | | | `period` | CampaignPeriod | | - `401` Not logged in. - `403` Guild admin permissions or analytics subscription required. - `404` Guild does not exist. - `422` Invalid date range or campaign catalogue exceeds the bounded limits. - `429` Rate limit hit. - `500` Analytics unavailable; failed queries never become zero-valued measurements. ### Get guild member count history ``` GET https://api.guild.xyz/analytics/{guildIdLike}/members ``` Time series of the guild's member count, bucketed by `interval` (default `hour`) between `startDate` and `endDate` (both default to the last 7 days). Requires the guild's subscription to include the `analytics` feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id. string (uuid) | | `interval` (optional) | query | One of `hour`, `day`, `week`, `month`. Defaults to `hour`. string | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | **Returns** 200: The guild's member-count snapshots. (AnalyticsGuildMembersResponse) | Field | Type | Description | | --- | --- | --- | | `snapshots` | AnalyticsGuildMemberSnapshot[] | | - `401` Not logged in. - `403` Not a guild admin, owner, or superAdmin; or the guild's subscription lacks the "analytics" feature. - `404` No guild matches guildIdLike. - `422` Request validation failed: `guildIdLike` is not a UUID, `interval` is not one of `hour`, `day`, `week`, `month`, or `startDate`/`endDate` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Get guild page view history ``` GET https://api.guild.xyz/analytics/{guildIdLike}/page-views ``` Time series of page visitors and active-member visitors, bucketed by `interval` (default `hour`) between `startDate` and `endDate` (both default to the last 7 days). Requires the guild's subscription to include the `analytics` feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id. string (uuid) | | `interval` (optional) | query | One of `hour`, `day`, `week`, `month`. Defaults to `hour`. string | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | **Returns** 200: The guild's page-view snapshots. (AnalyticsGuildPageViewsResponse) | Field | Type | Description | | --- | --- | --- | | `snapshots` | AnalyticsGuildPageViewSnapshot[] | | - `401` Not logged in. - `403` Not a guild admin, owner, or superAdmin; or the guild's subscription lacks the "analytics" feature. - `404` No guild matches guildIdLike. - `422` Request validation failed: `guildIdLike` is not a UUID, `interval` is not one of `hour`, `day`, `week`, `month`, or `startDate`/`endDate` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Get guild reward claim counts ``` GET https://api.guild.xyz/analytics/{guildIdLike}/reward-claims ``` Per-reward claim counts (`get_reward` events) and the number of unique claimers for the guild between `startDate` and `endDate` (both default to the last 7 days). Requires the guild's subscription to include the `analytics` feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id. string (uuid) | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | **Returns** 200: Reward claim counts. (AnalyticsGuildRewardClaimsResponse) | Field | Type | Description | | --- | --- | --- | | `rewards` | AnalyticsRewardClaimCount[] | | | `uniqueClaimers` | integer (int64) | | - `401` Not logged in. - `403` Not a guild admin, owner, or superAdmin; or the guild's subscription lacks the "analytics" feature. - `404` No guild matches guildIdLike. - `422` Request validation failed: `guildIdLike` is not a UUID, or `startDate`/`endDate` is not a string. - `429` Rate limit hit. See the Retry-After header. ### Get guild role member count history ``` GET https://api.guild.xyz/analytics/{guildIdLike}/roles ``` Time series of member counts per role, bucketed by `interval` (default `hour`) between `startDate` and `endDate` (both default to the last 7 days). Requires the guild's subscription to include the `analytics` feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id. string (uuid) | | `roleIds` (optional) | query | Role ids to include, as a comma-separated list or a JSON array. Omit (or send empty) for every role. string[] | | `interval` (optional) | query | One of `hour`, `day`, `week`, `month`. Defaults to `hour`. string | | `startDate` (optional) | query | ISO 8601 range start. Defaults to 7 days before `endDate`. string | | `endDate` (optional) | query | ISO 8601 range end. Defaults to now. string | **Returns** 200: Per-role member-count snapshots. (AnalyticsGuildRolesResponse) | Field | Type | Description | | --- | --- | --- | | `roles` | AnalyticsGuildRoleSnapshot[] | | - `401` Not logged in. - `403` Not a guild admin, owner, or superAdmin; or the guild's subscription lacks the "analytics" feature. - `404` No guild matches guildIdLike. - `422` Request validation failed: `guildIdLike` is not a UUID, `roleIds` is neither a string nor an array, `interval` is not one of `hour`, `day`, `week`, `month`, or `startDate`/`endDate` is not a string. - `429` Rate limit hit. See the Retry-After header. ## Chains ### List all chains ``` GET https://api.guild.xyz/chains ``` Returns the fixed list of chains the Guild backend supports, including RPC URLs, contracts, and integration support flags for each. Static data — no database access — always the same 63 chains in the same order. Kept for legacy callers such as the billing service; internal Guild services should prefer the shared chains constant over calling this endpoint. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: Every supported chain. (ChainResponse[]) - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. ### Get a chain by id ``` GET https://api.guild.xyz/chains/{id} ``` Looks up a single chain from the same static list as `GET /chains`, by its string id — not its numeric chainId. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `id` | path | The chain's string id, e.g. "ETHEREUM" or "POLYGON" — not the numeric chainId. string | **Returns** 200: The matching chain. (ChainResponse) | Field | Type | Description | | --- | --- | --- | | `alchemyApiBaseUrl` (optional) | string | | | `blockExplorer` | ChainBlockExplorer | A block explorer entry (`Chain["blockExplorer"]`). | | `chainId` | integer (int64) | | | `coingeckoId` (optional) | string | | | `contracts` | ChainContracts | `Chain["contracts"]`. | | `id` | string | The chain's string id, e.g. `"ETHEREUM"` or `"POLYGON"` — this is what `GET /chains/{id}` looks up by, not `chainId`. | | `image` | string | | | `integrations` (optional) | object or ChainIntegrations | | | `name` | string | | | `nativeCurrency` | ChainNativeCurrency | A chain's native gas currency (`Chain["nativeCurrency"]`). | | `openseaItemBaseUrl` (optional) | string | | | `privateRpcUrl` (optional) | string | Present only for chains with a dedicated private RPC endpoint. | | `rpcNodes` (optional) | ChainRpcNode[] | Additive alongside `rpcUrls`. Omitted when the chain has no ether-proxy RPC overrides. | | `rpcUrls` | string[] | Always non-empty. | | `testnet` | boolean | | - `404` No chain matches id. Body: `{ "message": "Chain not found" }`. - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. ## Compliance ### Delete a user's backend-owned data ``` DELETE https://api.guild.xyz/compliance/users/{userId} ``` Permanently deletes the user's backend-owned data — guild memberships, role progress, reward claims, point transactions, form submissions, and the user record itself — while retaining an audit log entry and billing records. Restricted to Guild's own internal privileged callers and superadmins; not a partner-integration endpoint. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Backend id of the user whose data will be permanently deleted. string (uuid) | **Returns** 200: Compliance delete completed. (ComplianceDeleteResponse) | Field | Type | Description | | --- | --- | --- | | `deleted` | boolean | Always `true`. | | `guildIds` | string (uuid)[] | Ids of the guilds the user had a membership in (not guilds they owned — owning any guild blocks the delete with a 409). Each guild's membership row, and the guild/role member counts, were removed as part of this delete. | | `retainedRecords` | string[] | Always `["audit_log", "billing"]` — the categories of data that are deliberately retained rather than deleted. | | `userId` | string (uuid) | The deleted user's backend id. | - `401` Not logged in, or the Guild session token is invalid or expired. - `403` Logged in, but the caller is neither a superadmin nor an internal privileged caller. - `404` No user with this id. - `409` The user still owns one or more guilds. Transfer or delete those guilds first. - `422` userId is not a valid UUID. - `429` Rate limit hit. See the Retry-After header. ## Crm ### Search guild members ``` GET https://api.guild.xyz/crm/{guildIdLike} ``` Search and filter a guild's members for the CRM view. `campaignId` selects current members with ANY native campaign role and cannot be combined with other filters. Campaign and role cohorts are bounded to 100,000 members and sorted by joinedAt then userId before pagination. `roleIds` and `rewardIds` are mutually-exclusive priority filters: a non-empty `roleIds` wins over everything else; else a non-empty `rewardIds` wins over `search`/`locations`; only when both are empty do `search` and `locations` apply. The total match count is reported in the `X-Total-Items` response header — see that header's own description for when it is exact vs. approximate vs. unknown. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `campaignId` (optional) | query | Native guild page ID. Includes members holding ANY page role. Exclusive with all other filters; at most 100,000 cohort members and 500 roles. Exact counts and stable joinedAt/userId pagination. string (uuid) | | `search` (optional) | query | Free-text search across member identities (wallet address, username, email, etc.). Ignored when `roleIds` or `rewardIds` is set. string | | `roleIds` (optional) | query | Filter to members holding ALL of these role IDs — the intersection, not the union (UUID; repeat the param for multiple). Role IDs that do not belong to this guild are dropped, and if none survive the result is empty. Takes priority over `rewardIds` and `search`. string[] | | `rewardIds` (optional) | query | Filter to members who have claimed all of these reward IDs (UUID; repeat the param for multiple). Used only when `roleIds` is empty; takes priority over `search`. string[] | | `locations` (optional) | query | Filter by 2-letter location code (repeat the param for multiple). Only applied when neither `roleIds` nor `rewardIds` is set. string[] | | `sortBy` (optional) | query | Sort field. Only `joinedAt` is supported. Defaults to `joinedAt`. string | | `sortOrder` (optional) | query | Sort direction, `ASC` or `DESC` (case-insensitive). Defaults to `DESC`. string | | `limit` (optional) | query | Page size. Defaults to 16, max 16. integer (int64) | | `offset` (optional) | query | Pagination offset. Defaults to 0, max 10000000. integer (int64) | **Returns** 200: Matching guild members. (CrmMemberResult[]) - `401` Not logged in. - `403` Logged in, but not an admin of this guild. - `404` No guild found for `guildIdLike`. - `422` Request validation failed: an out-of-range `guildIdLike`, or an invalid query parameter. - `429` Rate limit hit. See the Retry-After header. ### Get the guild's activity feed ``` GET https://api.guild.xyz/crm/{guildIdLike}/activity ``` Get a chronological (newest-first) feed of activity across all of a guild's members: joins, leaves, role gains/losses, reward claims/revokes, points earned/deducted, identity connects/disconnects, and form submissions. Backed by ClickHouse analytics events; each event is enriched with the acting user's identity info under `actor`. Returns a `200` with an empty `events` array (not a `404`) when nothing matches. Deliberately exempt from the global per-user rate limit — admin dashboards fire several concurrent chart requests — so this route never answers `429`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `limit` (optional) | query | Max events to return. Defaults to 25, max 50. integer (int64) | | `cursor` (optional) | query | Opaque nextCursor from the previous response. Pass the same filters and returned startDate/endDate for later pages. string | | `campaignId` (optional) | query | Native campaign page ID in this guild. Includes events with a role currently assigned to that page. string (uuid) | | `eventType` (optional) | query | Recorded event type: join_guild, leave_guild, get_role, claim_role, lose_role, get_reward, lose_reward, connect_identity, disconnect_identity, submit_form, grant_points or revoke_points. string | | `userId` (optional) | query | Only events for this member ID. string (uuid) | | `startDate` (optional) | query | Inclusive ISO 8601 start. Defaults to seven days before endDate; maximum range 90 days. string | | `endDate` (optional) | query | Only include events at or before this ISO 8601 timestamp. string | **Returns** 200: The guild's activity feed. (MemberTimelineActivityResponse) | Field | Type | Description | | --- | --- | --- | | `endDate` | string | | | `events` | MemberTimelineActivityEvent[] | Newest first. | | `nextCursor` (optional) | string | Opaque cursor ordered by millisecond timestamp plus recording key. Null after the last page, determined with one extra matching recording. | | `startDate` | string | | - `401` Not logged in. - `403` Logged in, but not an admin of this guild. - `404` No guild found for `guildIdLike`. - `422` Request validation failed: an out-of-range `guildIdLike`, or an invalid query parameter. ### Queue a member export ``` POST https://api.guild.xyz/crm/{guildIdLike}/export/async ``` Queue an async CSV export of guild members matching the given filters (the same filters as `GET /crm/{guildIdLike}`, minus `limit`/`offset` — an export always covers the full matching set, not one page; a `limit`/`offset` sent here is ignored). Returns immediately with a job id; poll `GET /crm/{guildIdLike}/export/status/{jobId}` for progress and the eventual download URL. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `campaignId` (optional) | query | Native guild page ID. Includes members holding ANY page role. Exclusive with all other filters; at most 100,000 cohort members and 500 roles. Exact counts and stable joinedAt/userId pagination. string (uuid) | | `search` (optional) | query | Search exports are not supported; non-empty search returns 422. Clear search before exporting. string | | `roleIds` (optional) | query | Filter to members holding ALL of these role IDs — the intersection, not the union (UUID; repeat the param for multiple). All selected IDs must belong to this guild; invalid ownership fails the job. Takes priority over `rewardIds`. string[] | | `rewardIds` (optional) | query | Filter to members who have claimed all of these reward IDs (UUID; repeat the param for multiple). Used only when `roleIds` is empty; takes priority over `search`. string[] | | `locations` (optional) | query | Filter by 2-letter location code (repeat the param for multiple). Only applied when neither `roleIds` nor `rewardIds` is set. string[] | | `sortBy` (optional) | query | Sort field. Only `joinedAt` is supported. Defaults to `joinedAt`. string | | `sortOrder` (optional) | query | Sort direction, `ASC` or `DESC` (case-insensitive). Defaults to `DESC`. string | **Returns** 202: Export job created and queued. (CrmExportJobCreated) | Field | Type | Description | | --- | --- | --- | | `jobId` | string (uuid) | | | `status` | string | Always `"pending"`. | - `401` Not logged in. - `403` Logged in, but not an admin of this guild. - `404` No guild found for `guildIdLike`. - `422` Request validation failed: an out-of-range `guildIdLike`, or an invalid query parameter. - `429` Rate limit hit. See the Retry-After header. ### Cancel an export job ``` POST https://api.guild.xyz/crm/{guildIdLike}/export/cancel/{jobId} ``` Cancel a pending or processing member export job. Only the job's creator or a superadmin may cancel it. Cancelling an already-`cancelled` job is a no-op that still returns `200`; a `completed` or `failed` job can no longer be cancelled and returns `400` instead. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `jobId` | path | Export job id. string (uuid) | **Returns** 200: The job was already cancelled, or was just cancelled. (CrmExportCancelResult) | Field | Type | Description | | --- | --- | --- | | `message` | string | `"Job already cancelled"` if it was already cancelled, otherwise `"Export cancelled successfully"`. | | `status` | string | Always `"cancelled"`. | - `400` The job already finished (`completed` or `failed`) and can no longer be cancelled. - `401` Not logged in. - `403` Not an admin of this guild, or (if the job exists) neither the job's creator nor a superadmin. - `404` No guild found for `guildIdLike`, or no export job found for `jobId`. - `422` Request validation failed: `jobId` is not a UUID, or an out-of-range `guildIdLike`. - `429` Rate limit hit. See the Retry-After header. ### Get export job status ``` GET https://api.guild.xyz/crm/{guildIdLike}/export/status/{jobId} ``` Get the status of a member export job. Only the job's creator or a superadmin may view it: the `403` response here can mean either that the caller isn't an admin of this guild, or (if the job exists) that the caller is neither the job's creator nor a superadmin. The stored `query` snapshot always shows `limit: 0, offset: 0` since an export covers the full matching set. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `jobId` | path | Export job id. string (uuid) | **Returns** 200: The export job. (CrmExportJob) | Field | Type | Description | | --- | --- | --- | | `createdAt` | integer (int64) | Epoch milliseconds. | | `error` (optional) | string | Present when the job failed. | | `fileUrl` (optional) | string | Present once the export has completed. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `progress` | integer (int64) | Completion percentage, `0`-`100` (`round(processed / total * 100)`; forced to `100` when the job completes) — not a row count. | | `query` | CrmExportJobQuery | The `query` snapshot stored on a [`CrmExportJob`] — always has `limit: 0, offset: 0` because an export covers the full matching set, not one page. | | `status` | CrmExportJobStatus | `CrmExportJob.status`. | | `total` | integer (int64) | Total rows to process. `0` until the worker has counted the matching set. | | `userId` | string (uuid) | | - `401` Not logged in. - `403` Not an admin of this guild, or (if the job exists) neither the job's creator nor a superadmin. - `404` No guild found for `guildIdLike`, or no export job found for `jobId`. - `422` Request validation failed: `jobId` is not a UUID, or an out-of-range `guildIdLike`. - `429` Rate limit hit. See the Retry-After header. ### List recent exports ``` GET https://api.guild.xyz/crm/{guildIdLike}/exports/recent ``` List the guild's completed member-export files, most recent first, with each file's export-job record resolved. Returns an empty `exports` array rather than an error when the guild has no exports yet. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | **Returns** 200: Recent exports. (CrmExportsRecentResponse) | Field | Type | Description | | --- | --- | --- | | `exports` | CrmRecentExport[] | | - `401` Not logged in. - `403` Logged in, but not an admin of this guild. - `404` No guild found for `guildIdLike`. - `422` Request validation failed: an out-of-range `guildIdLike`. - `429` Rate limit hit. See the Retry-After header. ### Get a member's activity timeline ``` GET https://api.guild.xyz/crm/{guildIdLike}/members/{userId}/timeline ``` Get a chronological (newest-first) timeline of one guild member's activity: guild joins, identity connects, role gains/losses, reward claims/revokes, points earned/deducted, and form submissions. Returns a `200` with an empty `events` array when the member has no recorded activity. `404` when `userId` is not a current member of the guild (the timeline exposes the member's connected accounts). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `userId` | path | Guild member's user id. string (uuid) | | `limit` (optional) | query | Max events to return. Defaults to 20, max 100. integer (int64) | | `cursor` (optional) | query | ISO 8601 timestamp from a previous response's `nextCursor`; returns events strictly older than it. string | **Returns** 200: The member's activity timeline. (MemberTimelineResponse) | Field | Type | Description | | --- | --- | --- | | `events` | MemberTimelineEvent[] | Newest first. | | `nextCursor` (optional) | string | `string \| null` — always emitted. An ISO 8601 timestamp to pass as the next page's `cursor`; `null` once fewer than `limit` events were returned (no further pages). | - `401` Not logged in. - `403` Logged in, but not an admin of this guild. - `404` No guild found for `guildIdLike`, or `userId` is not a current member of it. - `422` Request validation failed: `userId` is not a UUID, an out-of-range `guildIdLike`, or an invalid query parameter. - `429` Rate limit hit. See the Retry-After header. ## Boosts ### Boosted guilds for Explore ``` GET https://api.guild.xyz/guild-boosts/boosted ``` Level 1 and up. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Resolve a vanity alias ``` GET https://api.guild.xyz/guild-vanity/{alias} ``` 404 below level 3. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Public boost status of a guild ``` GET https://api.guild.xyz/guilds/{guildIdLike}/boosts ``` Optional session adds `viewer`. Cached 60 seconds. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Set or clear the animated banner ``` PUT https://api.guild.xyz/guilds/{guildIdLike}/boosts/animated-banner ``` Level 2. Guild admins only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Recreate the Booster role ``` POST https://api.guild.xyz/guilds/{guildIdLike}/boosts/booster-role ``` Guild admins only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Is this member boosting the guild ``` GET https://api.guild.xyz/guilds/{guildIdLike}/boosts/members/{userId} ``` Public. `since` is unix seconds. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Release the vanity alias ``` DELETE https://api.guild.xyz/guilds/{guildIdLike}/boosts/vanity ``` Guild admins only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Claim a vanity alias ``` PUT https://api.guild.xyz/guilds/{guildIdLike}/boosts/vanity ``` Level 3. 409 VANITY_TAKEN. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### A guild's custom emoji ``` GET https://api.guild.xyz/guilds/{guildIdLike}/custom-emoji ``` Public. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Add a custom emoji ``` POST https://api.guild.xyz/guilds/{guildIdLike}/custom-emoji ``` Level 2. 409 EMOJI_LIMIT. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Archive a custom emoji ``` DELETE https://api.guild.xyz/guilds/{guildIdLike}/custom-emoji/{emojiId} ``` Guild admins only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### The caller's boost slots ``` GET https://api.guild.xyz/me/boosts ``` MyBoosts. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Release a boost slot ``` DELETE https://api.guild.xyz/me/boosts/{slot} ``` The cooldown still applies to the next assignment. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Assign or move a boost ``` PUT https://api.guild.xyz/me/boosts/{slot} ``` 403 PLUS_REQUIRED, 422 BOOST_SLOT_INVALID, 409 BOOST_COOLDOWN. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Restore a slot after resubscribing ``` POST https://api.guild.xyz/me/boosts/{slot}/restore ``` Ignores the cooldown. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (BoostJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ## Guilds ### Search guilds ``` GET https://api.guild.xyz/guilds ``` Public guild search/listing with optional filters. Unlike GET /guilds/{guildIdLike}, results are always returned at admin-level detail — system-visibility rewards and non-public platforms are not filtered out here, regardless of the caller. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | Max results to return, 0-100. Defaults to 32. integer (int64) | | `offset` (optional) | query | Pagination offset, 0-10000000. Defaults to 0. integer (int64) | | `search` (optional) | query | Case-insensitive substring match against the guild's name or urlName. Must be empty or at least 3 characters. string | | `platformUniqueId` (optional) | query | Filter to guilds with a connected platform whose id is `-` (the platform's uniqueId), e.g. a Discord server id. string | | `owner` (optional) | query | Filter to guilds owned by this user id (UUID). string | | `isVerified` (optional) | query | Filter by verification status. Accepts the literal query value "true" or "false". boolean | | `tags` (optional) | query | Filter to guilds with any of these tags. Comma-separated, or repeat the query parameter. string | | `sortBy` (optional) | query | One of memberCount, createdAt, updatedAt. Defaults to createdAt. string | | `sortOrder` (optional) | query | One of ASC, DESC. Defaults to DESC. string | **Returns** 200: Matching guilds. (GuildsGuild[]) - `422` The query parameters failed validation (e.g. search is 1-2 characters, or limit/offset out of range). ### Create a guild ``` POST https://api.guild.xyz/guilds ``` Create a guild owned by the logged-in user, along with a default "Home" page and "Member" role. If page/role creation fails, the guild is rolled back and deleted. `urlName` defaults to a slugified `name` when omitted. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (GuildsCreateGuildRequest): | Field | Type | Description | | --- | --- | --- | | `contacts` | GuildsGuildContact[] | At least one contact is required. | | `description` (optional) | string | Max 1500 characters. | | `logoUrl` (optional) | string | | | `name` | string | Non-empty after trimming. | | `onboarding` (optional) | object or GuildsOnboarding | | | `urlName` (optional) | string | Defaults to a slugified `name` when omitted. | **Returns** 201: The newly created guild. (GuildsGuild) | Field | Type | Description | | --- | --- | --- | | `admins` | string[] | User ids. | | `carousel` (optional) | object or GuildsGuildCarousel | | | `color` (optional) | string | `#rrggbb`. | | `contacts` | GuildsGuildContact[] | | | `coverOpacity` (optional) | number (double) | 0-1. | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `customization` | GuildsCustomization | `customization` — every field defaults to `null`. | | `description` (optional) | string | Max 1500 characters. | | `entry` | GuildsGuildEntry | The guild's entry gate (`entry`). | | `featureFlags` | string[] | e.g. `crm_with_socials`, `analytics`, `forms_v2`, `points_v2`. | | `guildPin` (optional) | object or GuildsGuildPin | | | `id` | string (uuid) | | | `isVerified` | boolean | | | `legacyId` (optional) | integer (int64) | | | `logoUrl` (optional) | string | | | `mainPointsPlatformId` (optional) | string (uuid) | | | `memberCount` | integer (int64) | | | `name` | string | | | `onboarding` (optional) | object or GuildsOnboarding | | | `owner` | string (uuid) | | | `pages` | GuildsGuildPageRef[] | | | `permissions` | GuildsPermissions | `permissions` — nullable ids of the role/reward that grants read/write access, when the guild uses reward-gated permissions. | | `platforms` | object[] | Connected platform configs (Discord, Telegram, POINTS, ...) — shape varies by `type`. Admins see every connected platform; other callers only platforms whose visibility is `PUBLIC`. | | `rewards` | object[] | Reward configs — shape varies by `type`. Non-admin callers have system-visibility rewards (and NFT rewards not assigned to any role) filtered out. | | `roleCount` | integer (int64) | | | `socialLinks` | GuildsSocialLink[] | | | `subscription` (optional) | object or GuildsGuildSubscription | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | - `400` Malformed JSON in the request body. - `401` Not logged in. - `409` The (given or auto-derived) urlName is already taken by another guild. - `422` Request body failed validation (e.g. missing name/contacts, or an empty contacts array). - `429` Rate limit hit (600 requests/minute per user). See the Retry-After header. ### Delete a guild ``` DELETE https://api.guild.xyz/guilds/{guildIdLike} ``` Delete a guild along with its roles, pages, rewards and platforms. Requires the current owner (or a superadmin). Any active Stripe subscription is cancelled on a best-effort basis — a Stripe failure is logged but does not block the delete. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Returns** 204: The guild was deleted. - `401` Not logged in. - `403` The caller is not the guild owner (or a superadmin). - `404` No guild with this id/url name. - `422` guildIdLike failed validation (must be a UUID or a 1-50 character url name). - `429` Rate limit hit (600 requests/minute per user). See the Retry-After header. ### Get a guild ``` GET https://api.guild.xyz/guilds/{guildIdLike} ``` Get a guild by id or url name. Public — no authentication required. Callers below admin access get a filtered view: system-visibility rewards and non-PUBLIC platforms are omitted. Also mounted at `GET /v2/guilds/{guildIdLike}` as a legacy alias. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Returns** 200: The guild. (GuildsGuild) | Field | Type | Description | | --- | --- | --- | | `admins` | string[] | User ids. | | `carousel` (optional) | object or GuildsGuildCarousel | | | `color` (optional) | string | `#rrggbb`. | | `contacts` | GuildsGuildContact[] | | | `coverOpacity` (optional) | number (double) | 0-1. | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `customization` | GuildsCustomization | `customization` — every field defaults to `null`. | | `description` (optional) | string | Max 1500 characters. | | `entry` | GuildsGuildEntry | The guild's entry gate (`entry`). | | `featureFlags` | string[] | e.g. `crm_with_socials`, `analytics`, `forms_v2`, `points_v2`. | | `guildPin` (optional) | object or GuildsGuildPin | | | `id` | string (uuid) | | | `isVerified` | boolean | | | `legacyId` (optional) | integer (int64) | | | `logoUrl` (optional) | string | | | `mainPointsPlatformId` (optional) | string (uuid) | | | `memberCount` | integer (int64) | | | `name` | string | | | `onboarding` (optional) | object or GuildsOnboarding | | | `owner` | string (uuid) | | | `pages` | GuildsGuildPageRef[] | | | `permissions` | GuildsPermissions | `permissions` — nullable ids of the role/reward that grants read/write access, when the guild uses reward-gated permissions. | | `platforms` | object[] | Connected platform configs (Discord, Telegram, POINTS, ...) — shape varies by `type`. Admins see every connected platform; other callers only platforms whose visibility is `PUBLIC`. | | `rewards` | object[] | Reward configs — shape varies by `type`. Non-admin callers have system-visibility rewards (and NFT rewards not assigned to any role) filtered out. | | `roleCount` | integer (int64) | | | `socialLinks` | GuildsSocialLink[] | | | `subscription` (optional) | object or GuildsGuildSubscription | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | - `404` No guild with this id/url name. - `422` guildIdLike failed validation (must be a UUID or a 1-50 character url name). ### Update a guild ``` PUT https://api.guild.xyz/guilds/{guildIdLike} ``` Partially update a guild; only the fields present in the body are changed. Requires at least admin access. Changing isVerified, tags, featureFlags or subscription additionally requires superadmin rank; changing admins or owner additionally requires the current owner (or a superadmin). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Body** (GuildsUpdateGuildRequest): | Field | Type | Description | | --- | --- | --- | | `admins` (optional) | string[] | User ids. Only the owner (or a superadmin) may change this. | | `carousel` (optional) | object or GuildsGuildCarousel | | | `color` (optional) | string | `#rrggbb`; nullable. | | `contacts` (optional) | GuildsGuildContact[] | | | `coverOpacity` (optional) | number (double) | 0-1; nullable. | | `coverUrl` (optional) | string | | | `customization` (optional) | object or GuildsCustomization | | | `description` (optional) | string | Max 1500 characters; nullable. | | `entry` (optional) | object or GuildsGuildEntry | | | `featureFlags` (optional) | string[] | Superadmin only. | | `guildPin` (optional) | object or GuildsGuildPin | | | `isVerified` (optional) | boolean | Superadmin only. | | `logoUrl` (optional) | string | | | `mainPointsPlatformId` (optional) | string (uuid) | Must be `null` or the id of a POINTS platform belonging to this guild. | | `name` (optional) | string | | | `owner` (optional) | string (uuid) | User id of the new owner. Only the current owner (or a superadmin) may change this, and the target user must exist. | | `pages` (optional) | GuildsGuildPageRef[] | | | `socialLinks` (optional) | GuildsSocialLink[] | | | `subscription` (optional) | object or GuildsGuildSubscription | | | `tags` (optional) | string[] | | | `urlName` (optional) | string | | **Returns** 200: The updated guild. (GuildsGuild) | Field | Type | Description | | --- | --- | --- | | `admins` | string[] | User ids. | | `carousel` (optional) | object or GuildsGuildCarousel | | | `color` (optional) | string | `#rrggbb`. | | `contacts` | GuildsGuildContact[] | | | `coverOpacity` (optional) | number (double) | 0-1. | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `customization` | GuildsCustomization | `customization` — every field defaults to `null`. | | `description` (optional) | string | Max 1500 characters. | | `entry` | GuildsGuildEntry | The guild's entry gate (`entry`). | | `featureFlags` | string[] | e.g. `crm_with_socials`, `analytics`, `forms_v2`, `points_v2`. | | `guildPin` (optional) | object or GuildsGuildPin | | | `id` | string (uuid) | | | `isVerified` | boolean | | | `legacyId` (optional) | integer (int64) | | | `logoUrl` (optional) | string | | | `mainPointsPlatformId` (optional) | string (uuid) | | | `memberCount` | integer (int64) | | | `name` | string | | | `onboarding` (optional) | object or GuildsOnboarding | | | `owner` | string (uuid) | | | `pages` | GuildsGuildPageRef[] | | | `permissions` | GuildsPermissions | `permissions` — nullable ids of the role/reward that grants read/write access, when the guild uses reward-gated permissions. | | `platforms` | object[] | Connected platform configs (Discord, Telegram, POINTS, ...) — shape varies by `type`. Admins see every connected platform; other callers only platforms whose visibility is `PUBLIC`. | | `rewards` | object[] | Reward configs — shape varies by `type`. Non-admin callers have system-visibility rewards (and NFT rewards not assigned to any role) filtered out. | | `roleCount` | integer (int64) | | | `socialLinks` | GuildsSocialLink[] | | | `subscription` (optional) | object or GuildsGuildSubscription | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | - `400` mainPointsPlatformId is not a POINTS platform of this guild, a gated entry is missing/has an invalid role, or nested rewards/platforms belong to a different guild. - `401` Not logged in. - `403` Below admin access for this guild; the update touches a superadmin-only or owner-only field without that rank; or an admin addition exceeds the guild's included seats. - `404` Guild not found, or (when changing admins/owner) the referenced user id does not exist. - `422` guildIdLike or the request body failed validation. - `429` Rate limit hit (600 requests/minute per user). See the Retry-After header. ### Reorder a guild's pages ``` PUT https://api.guild.xyz/guilds/{guildIdLike}/pages/order ``` Set the display order of the guild's pages. pageIds must be exactly the guild's current page ids as a permutation (no additions, removals or duplicates); otherwise 400 with code PAGE_ORDER_MISMATCH naming the missing and extra ids. Page references are preserved as stored; only their order changes. Prefer this to sending `pages` in PUT /guilds/{guildIdLike}, which replaces the list and drops any page left out. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Body** (GuildsPageOrderRequest): | Field | Type | Description | | --- | --- | --- | | `pageIds` | string (uuid)[] | The guild's pages in the new order. Must contain every page currently on the guild exactly once. | **Returns** 200: The updated guild. (GuildsGuild) | Field | Type | Description | | --- | --- | --- | | `admins` | string[] | User ids. | | `carousel` (optional) | object or GuildsGuildCarousel | | | `color` (optional) | string | `#rrggbb`. | | `contacts` | GuildsGuildContact[] | | | `coverOpacity` (optional) | number (double) | 0-1. | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `customization` | GuildsCustomization | `customization` — every field defaults to `null`. | | `description` (optional) | string | Max 1500 characters. | | `entry` | GuildsGuildEntry | The guild's entry gate (`entry`). | | `featureFlags` | string[] | e.g. `crm_with_socials`, `analytics`, `forms_v2`, `points_v2`. | | `guildPin` (optional) | object or GuildsGuildPin | | | `id` | string (uuid) | | | `isVerified` | boolean | | | `legacyId` (optional) | integer (int64) | | | `logoUrl` (optional) | string | | | `mainPointsPlatformId` (optional) | string (uuid) | | | `memberCount` | integer (int64) | | | `name` | string | | | `onboarding` (optional) | object or GuildsOnboarding | | | `owner` | string (uuid) | | | `pages` | GuildsGuildPageRef[] | | | `permissions` | GuildsPermissions | `permissions` — nullable ids of the role/reward that grants read/write access, when the guild uses reward-gated permissions. | | `platforms` | object[] | Connected platform configs (Discord, Telegram, POINTS, ...) — shape varies by `type`. Admins see every connected platform; other callers only platforms whose visibility is `PUBLIC`. | | `rewards` | object[] | Reward configs — shape varies by `type`. Non-admin callers have system-visibility rewards (and NFT rewards not assigned to any role) filtered out. | | `roleCount` | integer (int64) | | | `socialLinks` | GuildsSocialLink[] | | | `subscription` (optional) | object or GuildsGuildSubscription | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | - `400` pageIds is not a permutation of the guild's pages (PAGE_ORDER_MISMATCH). - `401` Not logged in. - `403` Below admin access for this guild. - `404` Guild not found. - `422` guildIdLike failed validation, or pageIds is not an array of UUIDs. - `429` Rate limit hit. See the Retry-After header. ### Get a guild (legacy v2 path) ``` GET https://api.guild.xyz/v2/guilds/{guildIdLike} ``` Deprecated alias of `GET /guilds/{guildIdLike}`, kept for v2 API consumers. Identical behaviour and response; prefer the canonical path in new integrations. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Returns** 200: The guild. (GuildsGuild) | Field | Type | Description | | --- | --- | --- | | `admins` | string[] | User ids. | | `carousel` (optional) | object or GuildsGuildCarousel | | | `color` (optional) | string | `#rrggbb`. | | `contacts` | GuildsGuildContact[] | | | `coverOpacity` (optional) | number (double) | 0-1. | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `customization` | GuildsCustomization | `customization` — every field defaults to `null`. | | `description` (optional) | string | Max 1500 characters. | | `entry` | GuildsGuildEntry | The guild's entry gate (`entry`). | | `featureFlags` | string[] | e.g. `crm_with_socials`, `analytics`, `forms_v2`, `points_v2`. | | `guildPin` (optional) | object or GuildsGuildPin | | | `id` | string (uuid) | | | `isVerified` | boolean | | | `legacyId` (optional) | integer (int64) | | | `logoUrl` (optional) | string | | | `mainPointsPlatformId` (optional) | string (uuid) | | | `memberCount` | integer (int64) | | | `name` | string | | | `onboarding` (optional) | object or GuildsOnboarding | | | `owner` | string (uuid) | | | `pages` | GuildsGuildPageRef[] | | | `permissions` | GuildsPermissions | `permissions` — nullable ids of the role/reward that grants read/write access, when the guild uses reward-gated permissions. | | `platforms` | object[] | Connected platform configs (Discord, Telegram, POINTS, ...) — shape varies by `type`. Admins see every connected platform; other callers only platforms whose visibility is `PUBLIC`. | | `rewards` | object[] | Reward configs — shape varies by `type`. Non-admin callers have system-visibility rewards (and NFT rewards not assigned to any role) filtered out. | | `roleCount` | integer (int64) | | | `socialLinks` | GuildsSocialLink[] | | | `subscription` (optional) | object or GuildsGuildSubscription | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | - `404` No guild with this id/url name. - `422` guildIdLike failed validation (must be a UUID or a 1-50 character url name). ## Roles ### Why members miss each role ``` GET https://api.guild.xyz/guilds/{guildIdLike}/access-insights ``` Guild admins only. Per requirement of each role, how many members pass, fail or have not been evaluated yet, read from the protocol's access tables. At most 1,000 members are examined; a larger guild is estimated and says `sampled: true`. "Not evaluated" is never counted as a failure. Cached for five minutes. 503 INSIGHTS_TIMEOUT when the data is too slow to read. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | **Returns** 200: Done. (AccessInsightsJson) - `401` Signed out. - `403` Not a guild admin. - `404` No such guild. - `503` Too slow to read right now. ### List roles ``` GET https://api.guild.xyz/roles ``` List roles filtered by exactly one of 'guildIdLike', 'pageIdLike', or 'rewardId'. Non-admin callers should still pass 'guildIdLike' even when filtering by 'pageIdLike'/'rewardId' alone — omitting it can trigger an unrelated 400 from an internal visibility check that runs after a successful lookup. For non-admin callers, roles they can't see are silently dropped from 'data' and a 'secrets' count of the dropped roles is added to the response. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` (optional) | query | Id or url name of the guild to list roles of. string | | `pageIdLike` (optional) | query | Id or url name of a page to list the roles of. string | | `rewardId` (optional) | query | Only list roles that grant this reward. string (uuid) | | `includeVisibility` (optional) | query | Guild-scoped listing only: compute each role's live visibility status instead of returning the last-synced stored value. boolean | | `includeRequirements` (optional) | query | Include each role's requirements array. Defaults to true. boolean | | `includeEnrichedRequirements` (optional) | query | Include requirements enriched with integration/display data (implies includeRequirements). boolean | **Returns** 200: The matching roles. (RolesRoleListResponse) | Field | Type | Description | | --- | --- | --- | | `data` | RolesRoleResponse[] | | | `secrets` (optional) | integer (int64) | Only present when the response was visibility-filtered for a non-admin caller: how many of the guild's SECRET/SELF_REVEAL roles the caller hasn't unlocked. Roles gated by an orphaned read reward are dropped from `data` without being counted here, so this is a subset of what was omitted, not the total. | - `400` Thrown by an internal visibility check, not this handler's own validation: a non-admin caller filtered by only 'pageIdLike' or only 'rewardId' without also passing 'guildIdLike'. - `404` Guild not found, or page not found. - `422` None of 'guildIdLike'/'pageIdLike'/'rewardId' given, or a param fails validation. - `503` Visibility filtering failed transiently; safe to retry. ### Create a role ``` POST https://api.guild.xyz/roles ``` Create a role in a guild (optionally attaching it to a page) and its Protocol access role. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | query | Id or url name of the guild to create the role in. string | | `pageIdLike` (optional) | query | Id or url name of a page to attach the new role to. string | **Body** (RolesCreateRoleRequest): | Field | Type | Description | | --- | --- | --- | | `description` (optional) | string | Max 1500 characters. | | `imageUrl` (optional) | string | | | `logic` (optional) | object or RolesLogic | | | `name` | string | | | `rewards` (optional) | string[] | Existing reward ids to attach to the role. Defaults to an empty list. | | `tags` (optional) | string[] | Defaults to an empty list when omitted. | **Returns** 201: The created role. (RolesRoleResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | Max 1500 characters. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `imageUrl` (optional) | string | | | `legacyId` (optional) | integer (int64) | Only set for roles carried over from the legacy (pre-v3) platform. | | `logic` | RolesLogic | A role's combination logic. Unlike the rest of this file's schemas, `logic`'s own keys are snake_case — the object is round-tripped straight to Protocol's role API. `gate` is one of `AND`, `OR`, `ANY_OF`, `NESTED`; `any_of_num` only matters when `gate` is `ANY_OF`; `nested` (an arbitrary requirement/role tree) can be present when `gate` is `NESTED`. | | `memberCount` | integer (int64) | | | `name` | string | | | `pages` | RolesPageRef[] | | | `permissions` | RolesPermissions | PERMISSION-reward gating for reading/writing this role, when configured — each is the id of the PERMISSION-type reward that unlocks it (the same id `setRolePermission` writes), not a requirement id. | | `requirements` (optional) | object[] | Present on `GET /roles` results by default (omit it there by passing `includeRequirements=false`); always absent on the single-role endpoints (`GET`/`POST`/`PUT /roles...`), which strip it. | | `rewards` | string[] | Reward ids attached to this role. | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | One of `PUBLIC`, `SELF_REVEAL`, `SECRET`, `HIDDEN`. | - `400` Malformed JSON body. - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild not found, or 'pageIdLike' doesn't resolve to a page in the guild. - `409` QUEST_REWARD: `rewards` names a quest's points reward. - `422` Invalid query params, or the body fails role validation (e.g. missing 'name'). - `429` Rate limit hit. See the Retry-After header. ### Get role limits and member numbers ``` GET https://api.guild.xyz/roles/claims ``` For the asked-about roles that are limited ("the first N members") or numbered ("#1, #2, … in the order members got it"): the limit, how many numbers are given out, and the caller's own number when logged in. Roles that are neither are left out, as are roles of other guilds and roles that aren't public unless the caller holds a number in them. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | query | Id or url name of the guild. string | | `roleIds` (optional) | query | Comma-separated role ids, at most 500. Omit for every role of the guild. string | **Returns** 200: The limited or numbered roles. (RolesClaimSummariesResponse) | Field | Type | Description | | --- | --- | --- | | `data` | RoleClaimSummary[] | Only the asked-about roles that are limited or numbered. | - `404` Guild not found. - `422` Missing 'guildIdLike', or a role id isn't a UUID. - `502` Protocol is unreachable. ### Delete a role ``` DELETE https://api.guild.xyz/roles/{roleId} ``` Detach a role from a page; the role (and its Protocol access role) is only actually deleted once it has been removed from its last page. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. Unlike the other role endpoints, this path param isn't validated as a UUID at the request layer. string | | `guildIdLike` | query | Id or url name of the guild the role belongs to. string | | `pageIdLike` | query | Id or url name of the page to detach the role from. string | **Returns** 204: The role was detached from the page (and deleted, if this was its last page). - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild not found, page not found, or role not found. - `409` QUEST_ROLE: the role is a quest's; archive the quest instead (DELETE /v1/guilds/{guildIdLike}/quests/{questId}). - `422` Missing/invalid 'guildIdLike' or 'pageIdLike'. - `429` Rate limit hit. See the Retry-After header. ### Get a role ``` GET https://api.guild.xyz/roles/{roleId} ``` Fetch a single role by id. A 404 can mean the role truly doesn't exist, or that it exists but its visibility is restricted (SELF_REVEAL/SECRET/HIDDEN) and the caller lacks read access to it. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | | `guildIdLike` | query | Id or url name of the guild the role belongs to. string | **Returns** 200: The role. (RolesRoleResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | Max 1500 characters. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `imageUrl` (optional) | string | | | `legacyId` (optional) | integer (int64) | Only set for roles carried over from the legacy (pre-v3) platform. | | `logic` | RolesLogic | A role's combination logic. Unlike the rest of this file's schemas, `logic`'s own keys are snake_case — the object is round-tripped straight to Protocol's role API. `gate` is one of `AND`, `OR`, `ANY_OF`, `NESTED`; `any_of_num` only matters when `gate` is `ANY_OF`; `nested` (an arbitrary requirement/role tree) can be present when `gate` is `NESTED`. | | `memberCount` | integer (int64) | | | `name` | string | | | `pages` | RolesPageRef[] | | | `permissions` | RolesPermissions | PERMISSION-reward gating for reading/writing this role, when configured — each is the id of the PERMISSION-type reward that unlocks it (the same id `setRolePermission` writes), not a requirement id. | | `requirements` (optional) | object[] | Present on `GET /roles` results by default (omit it there by passing `includeRequirements=false`); always absent on the single-role endpoints (`GET`/`POST`/`PUT /roles...`), which strip it. | | `rewards` | string[] | Reward ids attached to this role. | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | One of `PUBLIC`, `SELF_REVEAL`, `SECRET`, `HIDDEN`. | - `404` The guild or the role wasn't found, or the role isn't visible to the caller. - `422` Missing/invalid 'guildIdLike', or 'roleId' isn't a UUID. - `503` Visibility filtering failed transiently; safe to retry. ### Update a role ``` PUT https://api.guild.xyz/roles/{roleId} ``` Partially update a role; only the fields present in the body are changed. Updating 'logic' also updates the role's Protocol access role, and can return 409 if the logic was changed concurrently by another request. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | | `guildIdLike` | query | Id or url name of the guild the role belongs to, used for the permission check. string | **Body** (RolesUpdateRoleRequest): | Field | Type | Description | | --- | --- | --- | | `description` (optional) | string | | | `imageUrl` (optional) | string | | | `logic` (optional) | object or RolesLogic | | | `name` (optional) | string | | | `rewards` (optional) | string[] | Replaces the role's full reward id list. | | `tags` (optional) | string[] | | **Returns** 200: The updated role. (RolesRoleResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | Max 1500 characters. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `imageUrl` (optional) | string | | | `legacyId` (optional) | integer (int64) | Only set for roles carried over from the legacy (pre-v3) platform. | | `logic` | RolesLogic | A role's combination logic. Unlike the rest of this file's schemas, `logic`'s own keys are snake_case — the object is round-tripped straight to Protocol's role API. `gate` is one of `AND`, `OR`, `ANY_OF`, `NESTED`; `any_of_num` only matters when `gate` is `ANY_OF`; `nested` (an arbitrary requirement/role tree) can be present when `gate` is `NESTED`. | | `memberCount` | integer (int64) | | | `name` | string | | | `pages` | RolesPageRef[] | | | `permissions` | RolesPermissions | PERMISSION-reward gating for reading/writing this role, when configured — each is the id of the PERMISSION-type reward that unlocks it (the same id `setRolePermission` writes), not a requirement id. | | `requirements` (optional) | object[] | Present on `GET /roles` results by default (omit it there by passing `includeRequirements=false`); always absent on the single-role endpoints (`GET`/`POST`/`PUT /roles...`), which strip it. | | `rewards` | string[] | Reward ids attached to this role. | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | One of `PUBLIC`, `SELF_REVEAL`, `SECRET`, `HIDDEN`. | - `400` Malformed JSON body. - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild not found, or role not found. - `409` The role's logic changed concurrently while this request was updating it; retry. QUEST_REWARD: `rewards` drops a quest role's points reward, or gives another quest's reward. - `422` Missing/invalid 'guildIdLike', 'roleId' isn't a UUID, or the body fails validation. - `429` Rate limit hit. See the Retry-After header. ### Get a role's member limit ``` GET https://api.guild.xyz/roles/{roleId}/claim-policy ``` The role's member limit and numbering, and how many numbers are given out. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | | `guildIdLike` | query | Id or url name of the guild the role belongs to. string | **Returns** 200: The limit, or null. (RolesClaimPolicyResponse) | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object or RoleClaimSummary | | - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild or role not found. ### Set a role's member limit ``` PUT https://api.guild.xyz/roles/{roleId}/claim-policy ``` Limit the role to its first `capacity` members and/or number its members in the order they get it, optionally holding back the first `reserved` numbers for admins to assign (they count toward `capacity`, and members are numbered after them). A limit always numbers the members, and counts seats taken: a member who loses the role keeps their number and their seat, so a full role stays full. Turning numbering on numbers the current members in the order they got the role. Turning it off keeps every number. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | | `guildIdLike` | query | Id or url name of the guild the role belongs to. string | **Body** (RoleClaimPolicy): | Field | Type | Description | | --- | --- | --- | | `capacity` (optional) | integer (int64) | Close the role after this many members. A limit numbers the members. | | `numbered` (optional) | boolean | Number the members in the order they get the role. | | `reserved` (optional) | integer (int64) | Hold back the first this-many numbers for admins to assign, say to the team. Counts toward `capacity`; members who get the role are numbered after them. | **Returns** 200: The role's limit after the change. (RolesClaimPolicyResponse) | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object or RoleClaimSummary | | - `400` Malformed JSON body. - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild or role not found. - `422` The limit isn't between 1 and 1,000,000,000, or the body has unknown fields. ### List a role's member numbers ``` GET https://api.guild.xyz/roles/{roleId}/claims ``` The role's members in number order, with when each got their number. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | | `guildIdLike` | query | Id or url name of the guild the role belongs to. string | | `offset` (optional) | query | Numbers to skip. Default 0. integer (int64) | | `limit` (optional) | query | At most this many, up to 1000. Default 1000. integer (int64) | **Returns** 200: The members, lowest number first. (RolesClaimsResponse) | Field | Type | Description | | --- | --- | --- | | `data` | RoleClaim[] | | - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild or role not found. ### Free a reserved member number ``` DELETE https://api.guild.xyz/roles/{roleId}/claims/{number} ``` Take a reserved number back from its member. If they have the role they keep it, without a number. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | | `number` | path | A reserved number. integer (int32) | | `guildIdLike` | query | Id or url name of the guild the role belongs to. string | **Returns** 204: Freed (or it was already free). - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild or role not found. - `422` Not one of the role's reserved numbers. ### Assign a reserved member number ``` PUT https://api.guild.xyz/roles/{roleId}/claims/{number} ``` Give a member one of the numbers the role holds back for admins (see `reserved` on the claim policy). A member who already had a number moves, and their old one goes to the next member who gets the role. It doesn't grant the role: the member gets it, with this number, once they qualify. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | | `number` | path | A reserved number, from 1 to the role's `reserved`. integer (int32) | | `guildIdLike` | query | Id or url name of the guild the role belongs to. string | **Body** (RolesAssignClaimRequest): | Field | Type | Description | | --- | --- | --- | | `member` | string | The member: an email, Discord name or wallet (`0x…`) they connected to Guild, or their Guild user id. | **Returns** 200: Assigned. (RolesAssignClaimResponse) | Field | Type | Description | | --- | --- | --- | | `movedFrom` (optional) | integer (int32) | The number the member had before, free again. | - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild or role not found, or no member has that email, Discord name or wallet. - `409` Another member has this number, or several members have used that Discord name. - `422` Not one of the role's reserved numbers, or a bad body. ### Get a role's member count ``` GET https://api.guild.xyz/roles/{roleId}/member-count ``` Member count for the role, read from Protocol. Protocol evaluates access, so it is the only store of this number; if it cannot be reached the endpoint fails rather than answering with a stale one. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `roleId` | path | The role's id. string (uuid) | **Returns** 200: The role's member count. (RolesMemberCountResponse) | Field | Type | Description | | --- | --- | --- | | `memberCount` | integer (int64) | The role's member count, from Protocol. | - `422` 'roleId' isn't a UUID. - `502` Protocol is unreachable or doesn't know this role. ### List roles of a guild ``` GET https://api.guild.xyz/v1/guilds/{guildId}/roles ``` List roles of a guild, paginated. Unlike the public roles endpoint, this endpoint does not filter roles by visibility: SECRET/HIDDEN roles are included too, and each role's 'requirements' array is always present. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `limit` (optional) | query | Defaults to 5, max 10. integer (int64) | | `offset` (optional) | query | Defaults to 0. integer (int64) | **Returns** 200: The guild's roles. (V1RolesRoleResponse[]) - `401` Missing or invalid API key. - `403` API key not valid for this guild, or no subscription. - `404` No guild matches 'guildId'. - `422` 'limit' or 'offset' failed validation (e.g. 'limit' above 10). - `429` Rate limit hit. See the Retry-After header. ### Get member addresses ``` GET https://api.guild.xyz/v1/guilds/{guildId}/roles/{roleId}/member-addresses ``` Get the addresses of role members, paginated. The response may contain `null` entries: some members have no EVM wallet connected to their guild account, and returning them is necessary so the caller knows when to stop paginating. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `roleId` | path | Role id. string | | `limit` (optional) | query | Defaults to 100, max 1000. integer (int64) | | `offset` (optional) | query | Defaults to 0. integer (int64) | **Returns** 200: Addresses of role members. An entry is null when that member has no linked EVM address. (string[]) - `401` Missing or invalid API key. - `403` API key not valid for this guild, or no subscription. Also returned as 'No access to this role' when the role resolved from 'roleId' belongs to a different guild than 'guildId'. - `404` No guild matches 'guildId', or no role matches 'roleId'. - `422` 'limit' or 'offset' failed validation (e.g. 'limit' above 1000). - `429` Rate limit hit. See the Retry-After header. ## Audit Log ### Record an admin panel entry ``` POST https://api.guild.xyz/guilds/{guildIdLike}/admin/entry ``` Records an `admin_panel.enter` audit log event for the caller entering this guild's admin panel. The audit write is fire-and-forget — it happens in the background and its outcome does not affect the response — so this endpoint returns 204 even if the write itself later fails. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | **Returns** 204: Entry accepted. The audit log write itself happens asynchronously. - `401` Missing or invalid Guild session. - `403` Caller is authenticated but is not an admin, owner, or super admin of this guild. - `404` No guild matches `guildIdLike`. - `429` Rate limit hit. See the Retry-After header. ### List a guild's audit log ``` GET https://api.guild.xyz/guilds/{guildIdLike}/audit-log ``` Lists this guild's audit log entries, newest first, each enriched with the acting user's display name, avatar, and primary connected identity. The total number of matching rows (ignoring `limit`/`offset`) is returned in the `X-Total-Items` header. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `startDate` (optional) | query | Inclusive ISO 8601 start timestamp. string | | `endDate` (optional) | query | Inclusive ISO 8601 end timestamp; keep fixed while paging. string | | `action` (optional) | query | Exact action, e.g. role.update. string | | `resourceType` (optional) | query | Exact resource type, e.g. role. string | | `actorId` (optional) | query | Only actions from this user. string (uuid) | | `limit` (optional) | query | Max rows to return. Defaults to 50, min 1, max 100. integer (int64) | | `offset` (optional) | query | Rows to skip, for pagination. Defaults to 0, min 0. integer (int64) | **Returns** 200: The guild's audit log entries, newest first. (AuditLogEntryResponse[]) - `401` Missing or invalid Guild session. - `403` Caller is authenticated but is not an admin, owner, or super admin of this guild. - `404` No guild matches `guildIdLike`. - `422` `limit` or `offset` failed validation (not an integer, or out of range). - `429` Rate limit hit. See the Retry-After header. ## Access ### Claim roles in a guild ``` POST https://api.guild.xyz/guilds/{guildIdLike}/claim-roles ``` Evaluate and claim one or more roles in a guild for the authenticated user. The caller must already be a member of the guild. Pass `userId` in the body to claim on behalf of a different user, but this only takes effect when the authenticated caller is a superAdmin — everyone else always claims for themselves. Pass `claimInvisibleRoles=true` to instead claim every secret / self-reveal role the caller currently has access to (admin roles excluded); in that mode `roleIds` may be omitted. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `claimInvisibleRoles` (optional) | query | When true, ignore `roleIds` and claim all secret/self-reveal roles the caller has access to instead. Defaults to false. boolean | **Body** (AccessClaimRolesRequest): | Field | Type | Description | | --- | --- | --- | | `roleIds` (optional) | string[] | Role ids to claim. Required (and must be non-empty) unless the `claimInvisibleRoles` query param is `true`. Each entry is a role UUID. Defaults to an empty array. | | `userId` (optional) | string (uuid) | Claim on behalf of a different user instead of the caller. Only takes effect when the authenticated caller is a superAdmin; every other caller always claims for themselves regardless of this field. | **Returns** 200: Roles claimed. Entries that were skipped (e.g. an admin role filtered out of an invisible-role claim) still appear in `claimedRoles`, but carry only `roleId` — the controller's `skipped` marker is not forwarded. (AccessClaimRolesResponse) | Field | Type | Description | | --- | --- | --- | | `claimedRoles` | AccessClaimedRoleEntry[] | | | `grantedPermissionRewardIds` (optional) | string[] | Present only when the claim cascaded into granting one or more PERMISSION (visibility) rewards, e.g. unlocking a secret role or page. | | `message` | string | e.g. "Roles claimed successfully". | | `success` | boolean | | - `400` Malformed JSON request body, or `roleIds` was empty while `claimInvisibleRoles` was not true. - `401` Not logged in. - `403` The caller is not a member of this guild. - `404` No guild matches `guildIdLike`. - `422` A path/query/body value failed validation (invalid `guildIdLike` shape, a non-UUID entry in `roleIds`, an invalid `userId`, or `claimInvisibleRoles` not `true`/`false`). - `429` Rate limit hit. See the Retry-After header. - `504` The claim timed out, or the client disconnected before it finished. Safe to retry. ### Join a guild ``` POST https://api.guild.xyz/join ``` Join an open guild as the authenticated user. Returns 200 with `success: true` both when the join succeeds and when the caller is already a member. Guilds whose entry type is `private` or `gated` currently reject the join with 403. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (AccessJoinGuildRequest): | Field | Type | Description | | --- | --- | --- | | `guildId` | string (uuid) | | | `ref` (optional) | string | Referral code from the invite link (`?ref=`). Optional; an unknown or unusable code never fails the join. | **Returns** 200: Joined the guild, or the caller was already a member. (AccessJoinGuildResponse) | Field | Type | Description | | --- | --- | --- | | `message` | string | e.g. "Joined guild successfully" or "User is already a member of this guild". | | `success` | boolean | | - `400` Malformed JSON request body. - `401` Not logged in. - `403` The guild's entry type is private or gated; joining via this endpoint is not currently supported for it. - `404` No guild matches `guildId`. - `422` Request body failed validation (missing/invalid `guildId`). - `429` Rate limit hit. See the Retry-After header. ### Leave a guild ``` POST https://api.guild.xyz/leave ``` Leave a guild as the authenticated user. The body's `userId` is validated but not otherwise used — the guild is always left on behalf of the authenticated caller, never on behalf of the supplied `userId`. Returns 200 with an empty body (no JSON) when the caller was not a member of the guild; this is not a 404. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (AccessLeaveGuildRequest): | Field | Type | Description | | --- | --- | --- | | `guildId` | string (uuid) | | | `userId` | string (uuid) | | **Returns** 200: Left the guild. When the caller was not a member, this is instead an empty body rather than this schema. (AccessLeaveGuildResponse) | Field | Type | Description | | --- | --- | --- | | `message` | string | | | `success` | boolean | | - `400` Malformed JSON request body. - `401` Not logged in. - `404` No guild matches `guildId`. - `422` Request body failed validation (missing/invalid `userId` or `guildId`). - `429` Rate limit hit. See the Retry-After header. - `504` The leave timed out, or was aborted before it finished. Safe to retry. ### Get a user's guild memberships ``` GET https://api.guild.xyz/users/{userId}/memberships ``` List a user's enriched guild memberships, optionally scoped to a single guild via the `guildId` query param. Returns null (not an empty array or a 404) when the user has no memberships, or none matching `guildId`. Public endpoint — no authentication required, and exempt from the per-user rate limiter. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | | `guildId` (optional) | query | Guild id or url name to scope the result to a single guild. string | | `includeMetadata` (optional) | query | Include guild/role/reward display metadata (name, image, description, etc.). Defaults to false. boolean | | `includePoints` (optional) | query | Include the user's point platform balances for each guild. Defaults to false. boolean | | `includeVisibility` (optional) | query | "none" (default, no visibility data) or "count" (include secret-role visibility counts). string | | `detailedRoleIds` (optional) | query | Comma-separated role ids (at most 4 are used) to include detailed per-requirement evaluation data for. string | **Returns** 200: The user's memberships, or null. (AccessMembership[]) - `404` `guildId` was supplied but no guild matches it. - `422` A path or query param failed validation (`userId` not a UUID, an invalid `guildId`, or `includeMetadata` / `includePoints` / `includeVisibility` not one of their allowed values). - `504` The lookup timed out, or the client disconnected before it finished. Safe to retry. ## Launch ### Cancel the launch ``` DELETE https://api.guild.xyz/guilds/{guildIdLike}/launch ``` Opens joins. Interest rows are kept. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### The launch page of a coming-soon guild ``` GET https://api.guild.xyz/guilds/{guildIdLike}/launch ``` Optional session adds `viewer`. 404 when the guild has no launch. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Create or edit the launch ``` PUT https://api.guild.xyz/guilds/{guildIdLike}/launch ``` Guild admins only. 409 GUILD_ALREADY_LIVE, 422 NUMBER_RANGE_NOT_RESERVED. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Withdraw interest ``` DELETE https://api.guild.xyz/guilds/{guildIdLike}/launch/interest ``` Not for a pre-registration after launch. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Notify me or pre-register ``` PUT https://api.guild.xyz/guilds/{guildIdLike}/launch/interest ``` PREREG needs Guild Plus. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Launch now ``` POST https://api.guild.xyz/guilds/{guildIdLike}/launch/launch-now ``` Sets the launch time to now; the worker finishes within a minute. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Pre-registered members ``` GET https://api.guild.xyz/guilds/{guildIdLike}/launch/preregistrations ``` Guild admins only. Notify-only members are a count. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### Pre-registered members as CSV ``` GET https://api.guild.xyz/guilds/{guildIdLike}/launch/preregistrations/export ``` Guild admins only. Columns: name, profile, reserved_number, status (joined or waiting), registered_at. At most 50,000 rows. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: CSV file. - `401` Signed out. - `403` Not allowed. - `404` Not found. - `503` Not available yet. ### Upcoming launches ``` GET https://api.guild.xyz/launches/upcoming ``` Verified or boosted guilds. Cached 5 minutes. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ### The caller's launch interests ``` GET https://api.guild.xyz/me/launches ``` Signed in. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (LaunchJson) - `401` Signed out. - `403` Not allowed. - `404` Not found. - `409` Conflict. - `422` Invalid input. - `503` Not available yet. ## Pin ### Get a guild's Pin preview image CID ``` GET https://api.guild.xyz/guilds/{guildIdLike}/pin ``` Returns the IPFS CID of the Guild Pin preview image for `guildAction`, generating it (and Redis-caching the result for 24h) the first time it's requested. This is a preview only: it does not require authentication and does not check whether Guild Pin is enabled for the guild, unlike POST of the same path, which signs a mint authorization for the caller. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `guildAction` (optional) | query | One of `JOINED_GUILD`, `IS_OWNER`, `IS_ADMIN`. Defaults to `JOINED_GUILD`. string | **Returns** 200: The Pin preview image CID. (PinCidResponse) | Field | Type | Description | | --- | --- | --- | | `cid` | string | IPFS CID of the Pin preview image, generated (and Redis-cached for 24h) the first time it's requested for this guild/`guildAction` pair. | - `400` The guild has no custom logo (still the default `/guildLogos` placeholder) or no `customization.accentColor` set, so a Pin image can't be generated. - `404` No guild matches `guildIdLike`. - `422` `guildAction` is present but not one of `JOINED_GUILD`, `IS_OWNER`, `IS_ADMIN`, or `guildIdLike` failed validation (must be a UUID or a 1-50 character url name). - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. - `500` Unexpected error generating or pinning the preview image to IPFS. ### Claim a guild Pin ``` POST https://api.guild.xyz/guilds/{guildIdLike}/pin ``` Builds and EIP-191-signs a mint payload for the caller's Guild Pin NFT for `guildAction`, against one of the caller's own linked EVM `WALLET` addresses. This does not submit an onchain transaction — the caller submits the returned `signature` in their own mint call. The caller must actually satisfy `guildAction` (guild membership for `JOINED_GUILD`/`IS_ADMIN` — admins get the same membership-gated Pin as regular members today, not an admin-specific check — or being the recorded guild owner for `IS_OWNER`), must not have already minted this action's Pin, and Guild Pin must be enabled and configured for a supported chain on this guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | **Body** (PinClaimRequest): | Field | Type | Description | | --- | --- | --- | | `guildAction` (optional) | string | One of `JOINED_GUILD`, `IS_OWNER`, `IS_ADMIN`. Defaults to `JOINED_GUILD` when omitted. | | `userAddress` | string | EVM address to mint the Pin to. Must be a `0x`-prefixed 20-byte hex address (case-insensitive) belonging to one of the caller's own linked EVM `WALLET` identities. | **Returns** 200: The signed mint payload. (PinClaimResponse) | Field | Type | Description | | --- | --- | --- | | `adminFee` | string | Always `"0"` today — see `adminTreasury`. | | `adminTreasury` | string | Always the zero address today — the contract supports an admin treasury cut, but it is unused. | | `chainId` | integer (int64) | EVM chain id the Guild Pin contract is deployed on. | | `cid` | string | IPFS CID of the Pin image. | | `contractAddress` | string | `0x`-prefixed Guild Pin contract address on `chainId`. | | `createdAt` | integer (int64) | Unix seconds the claimed action occurred (join time for `JOINED_GUILD`/`IS_ADMIN`, guild creation time for `IS_OWNER`). | | `guildAction` | string | The claimed action: one of `JOINED_GUILD`, `IS_OWNER`, `IS_ADMIN`. | | `guildId` | string | The guild's id, re-encoded as a decimal `uint256` string. | | `guildName` | string | | | `signature` | string | `0x`-prefixed EIP-191 signature over the encoded payload hash; submit this in the mint transaction. | | `timestamp` | integer (int64) | Unix seconds this payload was signed. | | `userAddress` | string | The (lowercased) address the Pin will be minted to. | | `userId` | string | The caller's Guild user id, re-encoded as a decimal `uint256` string for the mint call. | - `400` Malformed JSON body; the guild's configured Guild Pin chain is unrecognized or has no RPC endpoint, Multicall3 address, or Guild Pin contract configured; or the guild has no custom logo/accent color set so the Pin image can't be generated. - `401` Not logged in. - `403` `userAddress` is not one of the caller's own linked EVM `WALLET` identities. - `404` No guild matches `guildIdLike`, or the signed-in session's own user record no longer exists. - `422` `userAddress` is missing or not a `0x`-prefixed 20-byte hex address, or `guildAction` is not one of `JOINED_GUILD`, `IS_OWNER`, `IS_ADMIN`. - `429` Rate limit hit. See the Retry-After header. - `500` Guild Pin is not enabled for this guild; the caller already minted this guildAction's Pin; the caller doesn't satisfy guildAction's requirement; the mint creation timestamp couldn't be determined; or an unexpected upstream/RPC/IPFS error occurred. ## Point Transactions ### Get a user's point balance ``` GET https://api.guild.xyz/guilds/{guildIdLike}/points/{platformId}/balance/{userId} ``` Get a user's current balance and leaderboard rank on a POINTS platform. Public: no session or API key is required for a visible platform. Hidden systems require the owning guild's admin access. The platform must belong to the requested guild; negative balances are preserved. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `platformId` | path | Id of the POINTS platform to check the balance on. string (uuid) | | `userId` | path | Guild user id to look up the balance for. string (uuid) | **Returns** 200: The user's balance and rank. (PointTransactionsUserBalanceResponse) | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | Exact signed ledger balance, including negative amounts. | | `rank` | integer (int64) | 1-based leaderboard rank among users with a positive balance on this platform; 0 when the user's own balance isn't positive. | | `userId` | string (uuid) | | - `404` Guild not found. - `429` Rate limit hit. See the Retry-After header. ### List point transactions ``` GET https://api.guild.xyz/guilds/{guildIdLike}/points/{platformId}/transactions ``` List the `point_transaction` ledger for a platform, newest first, optionally scoped to one user. Requires guild admin, owner, or super-admin access to `guildIdLike`. The target must be a POINTS platform belonging to that guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name; used for the admin permission check. string | | `platformId` | path | Id of the POINTS platform whose transactions to list. string (uuid) | | `userId` (optional) | query | Restrict the history to this user's transactions. string (uuid) | | `limit` (optional) | query | Max rows to return. Defaults to 50. integer (int64) | | `offset` (optional) | query | Rows to skip. Defaults to 0. integer (int64) | **Returns** 200: The transaction history, newest first. (PointTransactionsTransaction[]) - `400` The platform isn't a POINTS platform belonging to this guild. - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild not found. - `422` `userId` isn't a UUID, or `limit`/`offset` isn't a number. - `429` Rate limit hit. See the Retry-After header. ### Grant or deduct points ``` POST https://api.guild.xyz/guilds/{guildIdLike}/points/{platformId}/transactions ``` Create a single admin points-ledger transaction on a POINTS platform: a positive `amount` grants points, a negative `amount` deducts them. Returns the user's new balance. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `platformId` | path | Id of a POINTS platform belonging to this guild. string (uuid) | **Body** (PointTransactionsTransactionInput): | Field | Type | Description | | --- | --- | --- | | `amount` | integer (int32) | Non-zero integer (must fit in a 32-bit signed integer); a positive amount grants points, a negative amount deducts them. | | `note` (optional) | string | Optional free-text note stored on the ledger transaction. | | `userId` | string (uuid) | The recipient/target user's Guild user id. | **Returns** 201: The transaction was recorded; body is the user's new balance. (PointTransactionsBalanceResponse) | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | The user's total balance on this points platform after the transaction. | - `400` Malformed JSON body, or `platformId` isn't a POINTS platform belonging to this guild. - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild not found. - `422` `userId` isn't a UUID, `amount` isn't a non-zero integer, or `note` isn't a string. - `429` Rate limit hit. See the Retry-After header. ### Bulk grant or deduct points ``` POST https://api.guild.xyz/guilds/{guildIdLike}/points/{platformId}/transactions/bulk ``` Create up to 500 admin points-ledger transactions on a POINTS platform in one call; each entry grants (positive `amount`) or deducts (negative) points for its own `userId`. Requires guild admin, owner, or super-admin access. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `platformId` | path | Id of a POINTS platform belonging to this guild. string (uuid) | **Body** (PointTransactionsBulkCreateRequest): | Field | Type | Description | | --- | --- | --- | | `transactions` | PointTransactionsTransactionInput[] | Up to 500 entries. | **Returns** 201: The transactions were recorded. (PointTransactionsBulkCreateResponse) | Field | Type | Description | | --- | --- | --- | | `inserted` | integer (int64) | Number of transactions actually inserted. | - `400` Malformed JSON body, or `platformId` isn't a POINTS platform belonging to this guild. - `401` Not logged in. - `403` Caller isn't an admin, owner, or super-admin of the guild. - `404` Guild not found. - `422` `transactions` isn't an array, has more than 500 entries, or one of its entries fails validation (invalid `userId`, non-zero-integer `amount`, or non-string `note`). - `429` Rate limit hit. See the Retry-After header. ## Member profiles ### A guild's profile items ``` GET https://api.guild.xyz/guilds/{guildIdLike}/profile-items ``` Guild admins and owners. `customSlots` is 10 with the `custom_profile_items` feature plus the boost-level bonus (0, 5, 15 or 30). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Returns** 200: The `GuildProfileItemList`. (GuildProfileItemList) | Field | Type | Description | | --- | --- | --- | | `canUploadCustom` | boolean | | | `customSlots` | integer (int32) | | | `customUsed` | integer (int64) | | | `items` | GuildProfileItem[] | | - `401` Signed out. - `403` Not a guild admin. - `404` No such guild. - `503` `PROFILES_UNAVAILABLE`. ### Create a guild profile item ``` POST https://api.guild.xyz/guilds/{guildIdLike}/profile-items ``` Guild admins and owners. Built-in starter art is open to any guild (50 active items). Uploaded art needs a free custom slot: 403 `GUILD_PLAN_REQUIRED` when the guild has none, 409 `ITEM_SLOTS_FULL` (with `limit`) when all are used. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Body** (GuildItemBody): | Field | Type | Description | | --- | --- | --- | | `art` | object | `{ builtin, tint? }` or `{ asset }`. | | `kind` | string | `decoration` or `effect`. | | `name` | string | | **Returns** 201: The item. (GuildProfileItem) | Field | Type | Description | | --- | --- | --- | | `archivedAt` (optional) | string | | | `art` | ItemArt | | | `createdAt` | string | | | `guildId` | string | | | `id` | string | | | `kind` | string | | | `name` | string | | - `401` Signed out. - `403` Not a guild admin, or `GUILD_PLAN_REQUIRED`. - `409` `ITEM_SLOTS_FULL`. - `422` Validation failed or `INVALID_UPLOAD`. - `503` `PROFILES_UNAVAILABLE`. ### Archive a guild profile item ``` DELETE https://api.guild.xyz/guilds/{guildIdLike}/profile-items/{itemId} ``` Guild admins and owners. The item stops being offered; members who hold it keep it equipped only until their next change. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | | `itemId` | path | Item id (UUID). string | **Returns** 204: Archived. - `401` Signed out. - `403` Not a guild admin. - `404` No such item. - `503` `PROFILES_UNAVAILABLE`. ### Edit a guild profile item ``` PATCH https://api.guild.xyz/guilds/{guildIdLike}/profile-items/{itemId} ``` Guild admins and owners. Replacing uploaded art with uploaded art keeps its slot. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | | `itemId` | path | Item id (UUID). string | **Body** (GuildItemPatchBody): | Field | Type | Description | | --- | --- | --- | | `art` (optional) | object | | | `name` (optional) | string | | **Returns** 200: The item. (GuildProfileItem) | Field | Type | Description | | --- | --- | --- | | `archivedAt` (optional) | string | | | `art` | ItemArt | | | `createdAt` | string | | | `guildId` | string | | | `id` | string | | | `kind` | string | | | `name` | string | | - `401` Signed out. - `403` Not a guild admin, or `GUILD_PLAN_REQUIRED`. - `404` No such item. - `409` `ITEM_SLOTS_FULL`. - `422` Validation failed or `INVALID_UPLOAD`. - `503` `PROFILES_UNAVAILABLE`. ### Whether a handle is free ``` GET https://api.guild.xyz/handles/{handle}/availability ``` `available: false` with `reason` `INVALID`, `RESERVED` or `TAKEN`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `handle` | path | The handle to check. string | **Returns** 200: The answer. (HandleAvailability) | Field | Type | Description | | --- | --- | --- | | `available` | boolean | | | `handle` | string | | | `reason` (optional) | string | `INVALID`, `RESERVED` or `TAKEN` when not available. | - `503` `PROFILES_UNAVAILABLE`. ### My per-guild profiles ``` GET https://api.guild.xyz/me/guild-profiles ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: `GuildProfileEntry[]`. (GuildProfileEntry[]) - `401` Signed out. ### Remove my profile in a guild ``` DELETE https://api.guild.xyz/me/guild-profiles/{guildId} ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Returns** 200: All the caller's per-guild profiles. (GuildProfileEntry[]) - `401` Signed out. - `503` `PROFILES_UNAVAILABLE`. ### Set my nickname and avatar in a guild ``` PUT https://api.guild.xyz/me/guild-profiles/{guildId} ``` Plus, and the member must belong to the guild. Sending neither field removes it. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Body** (GuildProfileBody): | Field | Type | Description | | --- | --- | --- | | `avatarUrl` (optional) | string | | | `nickname` (optional) | string | | **Returns** 200: All the caller's per-guild profiles. (GuildProfileEntry[]) - `401` Signed out. - `403` `PLUS_REQUIRED` or not a member. - `422` Validation failed or `INVALID_UPLOAD`. - `503` `PROFILES_UNAVAILABLE`. ### My profile settings ``` GET https://api.guild.xyz/me/profile ``` Everything the editor needs: fields, privacy, accounts, entitlement and limits. Refreshes the X handle first (best effort). Falls back to the legacy profile until the profile tables are applied. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. ### Edit my profile ``` PATCH https://api.guild.xyz/me/profile ``` Fields left out stay; `null` clears. Uploads must be files under the caller's own `user-content/{userId}/` prefix (PNG, JPEG, WebP or GIF, at most 10 MB; AVIF and HEIC are refused). Animated avatars and banners and gradient banners need Plus. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (ProfilePatchBody): | Field | Type | Description | | --- | --- | --- | | `avatar` (optional) | object | `{ "upload": url }` of a file under the caller's own `user-content/` prefix, or null. | | `banner` (optional) | object | `{ kind: "upload", url }` or `{ kind: "gradient", stops, angle, animated }` (Plus), or null. | | `bio` (optional) | string | At most 500 characters. | | `displayName` (optional) | string | 1 to 50 characters; free members change it once per 30 days. | | `links` (optional) | object[] | At most 6 `http(s)` links: `{ url, label? }`. | | `location` (optional) | string | At most 40 characters. | | `pronouns` (optional) | string | At most 24 characters. | | `themeColor` (optional) | string | `#rrggbb`. | **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `403` `PLUS_REQUIRED`. - `409` `NAME_CHANGE_COOLDOWN` with `retryAt`. - `422` Validation failed or `INVALID_UPLOAD`. - `503` `PROFILES_UNAVAILABLE`. ### Unlink my ENS name ``` DELETE https://api.guild.xyz/me/profile/ens ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `503` `PROFILES_UNAVAILABLE`. ### Link an ENS name ``` POST https://api.guild.xyz/me/profile/ens ``` The name must resolve, through Guild's own nodes, to one of the member's wallets. Plain `.eth` and `.base.eth` names only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (EnsBody): | Field | Type | Description | | --- | --- | --- | | `name` | string | | | `useAvatar` (optional) | boolean | Reserved: importing the ENS avatar is not available. | **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `409` `ENS_NAME_TAKEN`. - `422` `ENS_NOT_OWNED` or `ENS_NAME_UNSUPPORTED`. - `503` `ENS_UNAVAILABLE` or `PROFILES_UNAVAILABLE`. ### ENS names I could link ``` GET https://api.guild.xyz/me/profile/ens/candidates ``` Primary names of the member's wallets on Ethereum and Base, each confirmed by a forward lookup, read only from Guild's own nodes. ENS is a display field, never an identifier. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The candidates. (EnsCandidates) | Field | Type | Description | | --- | --- | --- | | `candidates` | EnsCandidate[] | | - `401` Signed out. - `503` `ENS_UNAVAILABLE`. ### Equip items ``` PUT https://api.guild.xyz/me/profile/equipped ``` `decoration` and `effect` take an item ref or null. 403 `ITEM_NOT_OWNED`, `PLUS_REQUIRED`, `ANNUAL_REQUIRED` or `PROFILE_LEVEL_REQUIRED` ("Reach profile level 20 to wear this.", with `minLevel`). Level items show to others only where the profile level shows. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (EquippedBody): | Field | Type | Description | | --- | --- | --- | | `decoration` (optional) | string | `builtin:{key}` or `item:{uuid}`, or null to unequip. | | `effect` (optional) | string | | **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `403` The item is locked. - `422` Unknown item or wrong slot. - `503` `PROFILES_UNAVAILABLE`. ### Release my claimed handle ``` DELETE https://api.guild.xyz/me/profile/handle ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `503` `PROFILES_UNAVAILABLE`. ### Claim a handle ``` PUT https://api.guild.xyz/me/profile/handle ``` Plus. `^[A-Za-z0-9_]{3,20}$`, not reserved. A claimed handle beats an X handle and is held while subscribed plus two years. It can change once every 30 days. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (HandleBody): | Field | Type | Description | | --- | --- | --- | | `handle` | string | `^[A-Za-z0-9_]{3,20}$`. | **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `403` `PLUS_REQUIRED`. - `409` `HANDLE_TAKEN` or `HANDLE_COOLDOWN`. - `422` `HANDLE_INVALID` or `HANDLE_RESERVED`. - `503` `PROFILES_UNAVAILABLE`. ### Refresh my X handle ``` POST https://api.guild.xyz/me/profile/handle/sync-x ``` Re-reads the member's connected X account and updates the X handle. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `503` `PROFILES_UNAVAILABLE`. ### My items ``` GET https://api.guild.xyz/me/profile/items ``` Every built-in item with whether the caller owns it and why not, plus the guild items held through `PROFILE_ITEM` rewards. `level` items carry `minLevel` and stay locked (`PROFILE_LEVEL_REQUIRED`) below it, and while the level is not computed or unavailable. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: `OwnedItem[]`. (OwnedItem[]) - `401` Signed out. ### Your profile level and progress ``` GET https://api.guild.xyz/me/profile/level ``` Your profile level, renown, this week's progress, next goals, unlocks and the breakdown by source. Never computed while you wait: before your first computation the answer is 202 `{ pending: true }` with `Retry-After`, and the level worker picks you up. Polling refreshes recent activity at most once every 15 minutes. `Cache-Control: private, no-store`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The `ProfileLevelProgress`. (ProfileLevelProgress) | Field | Type | Description | | --- | --- | --- | | `backfill` (optional) | object or LevelBackfill | | | `breakdown` | RenownBreakdown[] | | | `celebratedLevel` (optional) | integer (int32) | Null until the intro has been seen. | | `checkedAt` | string | | | `level` | integer (int32) | | | `levelStartsAt` | integer (int32) | `renown_for(level)`. | | `nextGoals` | LevelGoal[] | At most 3. | | `nextLevelAt` | integer (int32) | `renown_for(level + 1)`. | | `nextStageAt` (optional) | integer (int32) | The first level of the next stage; null at Spire. | | `renown` | integer (int32) | | | `show` | LevelShow | `ProfileLevelProgress.show`. | | `stage` | integer (int32) | | | `stageName` | string | | | `unlocks` | LevelUnlock[] | | | `week` | LevelWeek | The This week card. The week is an ISO week in UTC. | - `401` Signed out. - `503` `PROFILE_LEVELS_UNAVAILABLE`. ### Mark a level-up as celebrated ``` POST https://api.guild.xyz/me/profile/level/celebrated ``` Records that you saw the level-up ceremony (or the intro) up to `level`, so it is not shown again. Never stores more than your current level. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (CelebratedLevelInput): | Field | Type | Description | | --- | --- | --- | | `level` | integer (int32) | | **Returns** 204: Stored. - `400` `VALIDATION`: `level` is not an integer from 1 to 999. - `401` Signed out. - `409` `PROFILE_LEVEL_NOT_READY`: your level is not computed yet. - `503` `PROFILE_LEVELS_UNAVAILABLE`. ### Your renown history ``` GET https://api.guild.xyz/me/profile/level/history ``` Every renown award you earned, newest first, each labelled by what earned it. Only you see it. `limit` is 1 to 100 (default 25); pass `nextCursor` back as `cursor` for the next page. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `cursor` (optional) | query | Opaque cursor from `nextCursor`. string | | `limit` (optional) | query | 1 to 100, default 25. integer (int32) | **Returns** 200: The `RenownHistoryPage`. (RenownHistoryPage) | Field | Type | Description | | --- | --- | --- | | `items` | RenownAwardItem[] | | | `nextCursor` (optional) | string | | - `401` Signed out. - `422` Invalid cursor or limit. - `503` `PROFILE_LEVELS_UNAVAILABLE`. ### Set my privacy ``` PUT https://api.guild.xyz/me/profile/privacy ``` Fields left out stay. `viewersEnabled` needs Plus. `showLevel` (free) sets whether the profile level shows: `null` follows `isPrivate`. While the level is hidden, others also see no level items and only the base showcase slots. A `showLevel` or `isPrivate` change re-sends the level to `GUILD_PROFILE_LEVEL` requirements (0 while hidden). **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (PrivacyBody): | Field | Type | Description | | --- | --- | --- | | `accountVisibility` (optional) | object | Identity id to `PUBLIC`, `SHARED_GUILDS` or `HIDDEN`. | | `hiddenGuildIds` (optional) | string[] | | | `hideActivity` (optional) | boolean | | | `isPrivate` (optional) | boolean | | | `showLevel` (optional) | boolean | "Show my profile level": left out keeps it, `null` follows `isPrivate`, `true`/`false` is explicit. Free. 503 `PROFILE_LEVELS_UNAVAILABLE` when sent before profile levels are available. | | `showMeAsViewer` (optional) | boolean | | | `viewersEnabled` (optional) | boolean | Plus. | **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `403` `PLUS_REQUIRED`. - `422` Validation failed. - `503` `PROFILES_UNAVAILABLE`, or `PROFILE_LEVELS_UNAVAILABLE` when `showLevel` is sent before profile levels are available (nothing is written). ### Set my showcase ``` PUT https://api.guild.xyz/me/profile/showcase ``` Up to 9 entries are stored; 3 render free, 6 with Plus, 9 annual, plus one slot at profile level 10 and one at 25 (at most 9, and only where the level shows). Each entry must be something the member holds. Body: the array, or `{ showcase }`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (ShowcaseEntryBody[]): **Returns** 200: The updated `ProfileSettings`. (ProfileSettings) | Field | Type | Description | | --- | --- | --- | | `accounts` | ConnectedAccount[] | | | `avatar` (optional) | object or SettingsAvatar | | | `banner` (optional) | object or Banner | | | `bio` (optional) | string | | | `canonicalPath` | string | | | `displayName` (optional) | string | | | `ens` (optional) | object or SettingsEns | | | `entitlement` | Entitlement | `PlusEntitlement` of `types.ts` (the handle hold lives with the handle). | | `equipped` | SettingsEquipped | | | `fallbackAvatarUrl` (optional) | string | | | `guildProfiles` | GuildProfileEntry[] | | | `handles` | SettingsHandles | | | `limits` | ProfileLimits | | | `links` | SettingsLink[] | | | `location` (optional) | string | | | `privacy` | SettingsPrivacy | | | `profileLevel` (optional) | object or SettingsProfileLevel | | | `pronouns` (optional) | string | | | `showcase` | Value[] | | | `themeColor` (optional) | string | | | `userId` | string | | - `401` Signed out. - `422` `SHOWCASE_LIMIT` or validation failed. - `503` `PROFILES_UNAVAILABLE`. ### Who viewed my profile ``` GET https://api.guild.xyz/me/profile/viewers ``` Plus. `days` is 7 or 30 (default 7). Lists only viewers who opted to be shown, and only while the member has `viewersEnabled`; `total` counts every view. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `days` (optional) | query | 7 or 30. integer (int32) | **Returns** 200: The `ProfileViewers`. (ProfileViewers) | Field | Type | Description | | --- | --- | --- | | `days` | integer (int64) | | | `enabled` | boolean | Whether the member has switched viewer tracking on. | | `total` | integer (int64) | | | `viewers` | ViewerEntry[] | | - `401` Signed out. - `403` `PLUS_REQUIRED`. - `422` `days` is not 7 or 30. ### Get a member profile ``` GET https://api.guild.xyz/member-profiles/{idLike} ``` `idLike` is a user id or a handle (claimed, else X); an ENS name never resolves. What comes back depends on who asks: a private profile shows strangers only the shell (`restricted: true`); hidden guilds, role visibility and account visibility are applied server-side. With `guild`, adds `guildContext` and the member's name in that guild. Public: signed-out visitors read too. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `idLike` | path | User id (UUID) or handle. string | | `guild` (optional) | query | Guild id (UUID) for the guild context. string | **Returns** 200: The `ProfileView`. (ProfileView) - `404` No such member (`NOT_FOUND`). ### A member's activity ``` GET https://api.guild.xyz/member-profiles/{idLike}/activity ``` Joined guilds, earned roles, spaces posts the caller may read and achievements, newest first. `limit` defaults to 20 (max 50); `cursor` is opaque. Returns `{ items: [], nextCursor: null, hidden: true }` when the member hides activity or the profile is private to the caller. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `idLike` | path | User id (UUID) or handle. string | | `cursor` (optional) | query | Opaque cursor from `nextCursor`. string | | `limit` (optional) | query | 1 to 50, default 20. integer (int32) | **Returns** 200: The `ActivityPage`. (ActivityPage) | Field | Type | Description | | --- | --- | --- | | `hidden` (optional) | boolean | | | `items` | ActivityItem[] | | | `nextCursor` (optional) | string | | - `404` No such member. - `422` Invalid cursor or limit. ### Mutual guilds and roles ``` GET https://api.guild.xyz/member-profiles/{idLike}/mutuals ``` Guilds both members belong to, with the roles both hold. Hidden guilds are left out unless the caller administers that guild; a shared role must be public or the caller an admin of its guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `idLike` | path | User id (UUID) or handle. string | **Returns** 200: The `Mutuals`. (Mutuals) | Field | Type | Description | | --- | --- | --- | | `guildCount` | integer | | | `guilds` | MutualGuild[] | | | `roleCount` | integer | | - `401` Signed out. - `404` No such member. ### Record a profile view ``` POST https://api.guild.xyz/member-profiles/{idLike}/view ``` Counts one view per viewer per day. The viewer is stored (and shown to a Plus member) only if the viewer switched `showMeAsViewer` on. Viewing yourself is a no-op. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `idLike` | path | User id (UUID) or handle. string | **Returns** 204: Recorded or ignored. - `401` Signed out. ### The built-in items and achievements ``` GET https://api.guild.xyz/profile-items/catalog ``` Every built-in decoration and effect with its tier (and `minLevel` for `level` items), every achievement with the item it unlocks, and `levels`: the ten profile-level stages and every level unlock. Static; cacheable. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: The `Catalog`. (Catalog) | Field | Type | Description | | --- | --- | --- | | `achievements` | AchievementDef[] | | | `items` | BuiltinItemDef[] | | | `levels` (optional) | object or CatalogLevels | | ### Stop a guild counting toward profile levels (staff) ``` POST https://api.guild.xyz/profile-levels/excluded-guilds ``` Guild staff only, with a session (the service key and `x-guild-user-id` are refused). The guild stops paying renown from now on; renown it already paid stays. Re-excluding updates the reason. Audited. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (ExcludeGuildInput): | Field | Type | Description | | --- | --- | --- | | `guildId` | string | | | `reason` | string | | **Returns** 204: Excluded. - `401` Signed out. - `403` `SESSION_REQUIRED` or `FORBIDDEN` (not staff). - `404` No such guild. - `422` Invalid body. - `503` `PROFILE_LEVELS_UNAVAILABLE`. ### Let a guild count toward profile levels again (staff) ``` DELETE https://api.guild.xyz/profile-levels/excluded-guilds/{guildId} ``` Guild staff only, with a session. Lifts an exclusion; awards from the time it was excluded are not paid back. A guild that was not excluded is a no-op. An optional JSON body `{ reason }` is recorded with the audit entry. Audited. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Returns** 204: Not excluded (any more). - `401` Signed out. - `403` `SESSION_REQUIRED` or `FORBIDDEN` (not staff). - `404` Not a guild id. - `503` `PROFILE_LEVELS_UNAVAILABLE`. ### Correct a member's renown (staff) ``` POST https://api.guild.xyz/profile-levels/users/{userId}/corrections ``` Guild staff only, with a session (the service key and `x-guild-user-id` are refused). Writes one `CORRECTION` award of `amount` (1 to 10,000 either way) and sets the level from the new total: the only way a profile level goes down. Level items above the new level are taken off and the requirement value is re-sent. The member sees "Adjusted by Guild staff", never the reason. Audited. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | User id (UUID). string | **Body** (RenownCorrectionInput): | Field | Type | Description | | --- | --- | --- | | `amount` | integer (int32) | | | `reason` | string | | **Returns** 201: `{ renown, level }` after the correction. (RenownCorrectionResult) | Field | Type | Description | | --- | --- | --- | | `level` | integer (int32) | | | `renown` | integer (int32) | | - `400` `CORRECTION_TOO_LARGE`. - `401` Signed out. - `403` `SESSION_REQUIRED` or `FORBIDDEN` (not staff). - `404` No such member. - `422` Invalid body. - `503` `PROFILE_LEVELS_UNAVAILABLE`. ### A member's profile level for the requirement (service key) ``` GET https://api.guild.xyz/users/{userId}/profile-level ``` Called by `integration-guild` for the `GUILD_PROFILE_LEVEL` requirement, with the service key in `x-guild-auth-token` (the app-wide authorizer also wants `x-guild-user-id`, whose value this route never reads); a session gets 404. Answers only a known level: 0 when the member hides it, 503 while levels are unavailable, before the member's first computation (which it then asks for) or when too many reads run at once. Never computes inline. `Cache-Control: private, no-store`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | User id (UUID). string | **Returns** 200: `{ level }`: the level, or 0 when hidden. (ProfileLevelValue) | Field | Type | Description | | --- | --- | --- | | `level` | integer (int32) | | - `404` Not a service call, or not a user id (`NOT_FOUND`). - `503` `PROFILE_LEVELS_UNAVAILABLE` (also when busy) or `PROFILE_LEVEL_NOT_READY`, with `Retry-After`. ## Referrals ### Who invited whom (admin) ``` GET https://api.guild.xyz/guilds/{guildIdLike}/referrals/invites ``` Guild admins only. Inviters with the most invitations first, each with their newest invitees: when invited, still a member, verified, counted. `limit` 1..50 (default 20). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | 1..50, default 20. integer (int64) | | `offset` (optional) | query | Default 0. integer (int64) | **Returns** 200: Done. (ReferralInvites) - `401` Signed out. - `403` Not a guild admin. - `404` Not found. - `422` Invalid input. - `503` REFERRALS_UNAVAILABLE. ### One inviter's invitees (admin) ``` GET https://api.guild.xyz/guilds/{guildIdLike}/referrals/invites/{userId} ``` Guild admins only. Newest first; `limit` 1..100 (default 10). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | 1..100, default 10. integer (int64) | | `offset` (optional) | query | Default 0. integer (int64) | **Returns** 200: Done. (ReferralInvites) - `401` Signed out. - `403` Not a guild admin. - `404` Not found. - `503` REFERRALS_UNAVAILABLE. ### Referral leaderboard ``` GET https://api.guild.xyz/guilds/{guildIdLike}/referrals/leaderboard ``` Public while referrals are on; guild admins can always read it. Only rank, count, name and avatar are returned. `limit` 1..100 (default 25). **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | 1..100, default 25. integer (int64) | | `offset` (optional) | query | Default 0. integer (int64) | **Returns** 200: Done. (ReferralLeaderboard) | Field | Type | Description | | --- | --- | --- | | `leaderboard` | ReferralLeaderboardEntry[] | | | `total` | integer (int64) | | - `404` Not found. - `409` REFERRALS_DISABLED. - `422` Invalid input. - `503` REFERRALS_UNAVAILABLE. ### My invite code and standing ``` GET https://api.guild.xyz/guilds/{guildIdLike}/referrals/me ``` Members only. Creates the caller's code on first use. 403 NOT_A_MEMBER, 409 REFERRALS_DISABLED. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (ReferralMe) | Field | Type | Description | | --- | --- | --- | | `code` | string | | | `counted` | integer (int64) | | | `invited` | integer (int64) | | | `rank` (optional) | integer (int64) | | - `401` Signed out. - `403` NOT_A_MEMBER. - `404` Not found. - `409` REFERRALS_DISABLED. - `503` REFERRALS_UNAVAILABLE. ### Counted referrals of a member ``` GET https://api.guild.xyz/guilds/{guildIdLike}/referrals/members/{userId} ``` Read by the GUILD_REFERRALS integration. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Done. (ReferralMemberCount) | Field | Type | Description | | --- | --- | --- | | `referrals` | integer (int64) | | - `401` Signed out. - `404` Not found. ### Referral settings of a guild ``` GET https://api.guild.xyz/guilds/{guildIdLike}/referrals/settings ``` Public. Defaults to off when the guild never configured referrals. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: Done. (ReferralSettings) | Field | Type | Description | | --- | --- | --- | | `enabled` | boolean | | | `verifiedOnly` | boolean | | - `404` Not found. - `503` REFERRALS_UNAVAILABLE. ### Change the referral settings ``` PUT https://api.guild.xyz/guilds/{guildIdLike}/referrals/settings ``` Guild admins only. Omitted fields keep their value. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (ReferralSettingsInput): | Field | Type | Description | | --- | --- | --- | | `enabled` (optional) | boolean | | | `verifiedOnly` (optional) | boolean | | **Returns** 200: Done. (ReferralSettings) | Field | Type | Description | | --- | --- | --- | | `enabled` | boolean | | | `verifiedOnly` | boolean | | - `401` Signed out. - `403` Not a guild admin. - `404` Not found. - `422` Invalid input. - `503` REFERRALS_UNAVAILABLE. ## Operational Health ### Get operational health snapshot ``` GET https://api.guild.xyz/health/operational ``` Superadmin-only snapshot of the shared Postgres connection pool used by this replica, plus the process's recent 5xx errors (a 5-minute in-memory sliding window). `warnings` is populated when the pool has waiting clients or is at or above 90% of its configured maximum connections. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: Operational health snapshot. (OperationalHealthResponse) | Field | Type | Description | | --- | --- | --- | | `pg` | OperationalHealthPgStats | `pg` field of [`OperationalHealthResponse`] — a snapshot of the shared `sqlx::PgPool` used by this replica. | | `recentErrors` | OperationalHealthRecentError[] | 5xx errors recorded by this process in the last 5 minutes, sorted by `count` descending. | | `warnings` | string[] | Human-readable capacity warnings. Empty when the pool has no waiting clients and is below 90% of `maxConnections`. | - `401` Not logged in. - `403` Logged in, but not a superadmin. - `429` Rate limit hit. See the Retry-After header. ## Integrations ### List guilds as select options ``` GET https://api.guild.xyz/integrations/guilds ``` Returns guilds formatted as `{ value, label, img }` options for a partner integration's dynamic-select form inputs (e.g. "which guild"). Without `search`, returns the 100 most recently created guilds; with it, a case-insensitive substring match against the guild's name or url name, still capped at 100 results. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `search` (optional) | query | Case-insensitive substring match against the guild's name or url name. Omit to list the most recently created guilds. string | **Returns** 200: Up to 100 matching guilds. (IntegrationsSelectOption[]) - `422` Request validation failed: search was supplied more than once (repeated query params collapse into an array, which fails the string check). - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. ### List a guild's rewards as select options ``` GET https://api.guild.xyz/integrations/guilds/{guildId}/rewards ``` Returns the guild's rewards, excluding PERMISSION rewards, formatted as `{ value, label, img }` options for a partner integration's dynamic-select form inputs (e.g. "which reward"). label falls back to the reward's id when it has no ui.displayName. The underlying guild lookup always runs with admin-level visibility on this endpoint, so rewards are returned regardless of their own visibility setting. guildId must be the guild's UUID — url names are not accepted. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id. Must be a UUID; guild url names are not accepted on this route. string (uuid) | **Returns** 200: The guild's non-PERMISSION rewards. (IntegrationsSelectOption[]) - `404` No guild matches guildId. - `422` Request validation failed: guildId is not a valid UUID. - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. ### List a guild's roles as select options ``` GET https://api.guild.xyz/integrations/guilds/{guildId}/roles ``` Returns every role of the guild formatted as `{ value, label, img }` options for a partner integration's dynamic-select form inputs (e.g. "which role"). The list is neither paginated nor filtered by role visibility, so HIDDEN/SECRET/SELF_REVEAL roles are included too. Unlike most guild-scoped endpoints, guildId must be the guild's UUID here — url names are not accepted. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id. Must be a UUID; guild url names are not accepted on this route. string (uuid) | **Returns** 200: Every role of the guild. (IntegrationsSelectOption[]) - `404` No guild matches guildId. - `422` Request validation failed: guildId is not a valid UUID. - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. ### List supported identity platforms as select options ``` GET https://api.guild.xyz/integrations/identities ``` Returns the fixed list of identity platforms Guild supports (Discord, X, GitHub, an EVM wallet, etc.) formatted as `{ value, label }` options for a partner integration's dynamic-select form inputs. Static data — no database access — always the same 13 platforms in the same order. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: All supported identity platforms. (IntegrationsIdentityOption[]) - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. ## Verified person ### My verification ``` GET https://api.guild.xyz/me/person-verification ``` The badge, its state, whether and when I may ask for a review, the open request and the history. Reviewer signals are never included. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The state. (MyVerificationBody) | Field | Type | Description | | --- | --- | --- | | `badge` (optional) | object | `{ verifiedAt, validUntil }` or `null`. | | `badgeState` (optional) | string | `ACTIVE`, `EXPIRED`, `REVOKED` or `null`. | | `current` (optional) | object or VerificationRequestViewBody | | | `eligibility` | object | `{ canRequest, reason, retryAt, basis }`. | | `history` | VerificationRequestViewBody[] | | | `renewOpensAt` (optional) | string | | - `401` Signed out. ### Ask for a review ``` POST https://api.guild.xyz/me/person-verification/requests ``` Checks, in order: intake open (503 `VERIFICATION_PAUSED`), Plus active (403 `PLUS_REQUIRED`), basis (409 `VERIFICATION_NOT_ELIGIBLE`), no open request (`REQUEST_OPEN`), not already verified (`ALREADY_VERIFIED`), no recent rejection or revocation (`COOLDOWN`), yearly limits (`YEARLY_LIMIT`). **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (RequestNoteInput): | Field | Type | Description | | --- | --- | --- | | `note` (optional) | string | At most 1000 characters. | **Returns** 201: The request. (VerificationRequestViewBody) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | | | `decidedAt` (optional) | string | | | `id` | string (uuid) | | | `infoRequest` (optional) | string | | | `infoResponse` (optional) | string | | | `memberMessage` (optional) | string | | | `memberNote` (optional) | string | | | `reasonCategory` (optional) | string | | | `status` | string | | | `updatedAt` | string | | - `401` Signed out. - `403` `PLUS_REQUIRED`. - `409` Not eligible. - `422` Validation failed. - `503` `VERIFICATION_PAUSED`. ### Answer the reviewer ``` POST https://api.guild.xyz/me/person-verification/requests/current/info ``` Only while the request is `NEEDS_INFO`; it returns to `PENDING`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (InfoResponseInput): | Field | Type | Description | | --- | --- | --- | | `response` | string | 1 to 1000 characters. | **Returns** 200: The request. (VerificationRequestViewBody) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | | | `decidedAt` (optional) | string | | | `id` | string (uuid) | | | `infoRequest` (optional) | string | | | `infoResponse` (optional) | string | | | `memberMessage` (optional) | string | | | `memberNote` (optional) | string | | | `reasonCategory` (optional) | string | | | `status` | string | | | `updatedAt` | string | | - `401` Signed out. - `409` `NOT_WAITING_FOR_INFO`. - `422` Validation failed. ### Withdraw my request ``` POST https://api.guild.xyz/me/person-verification/requests/current/withdraw ``` A request no reviewer had claimed does not count towards the yearly limits. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The request. (VerificationRequestViewBody) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | | | `decidedAt` (optional) | string | | | `id` | string (uuid) | | | `infoRequest` (optional) | string | | | `infoResponse` (optional) | string | | | `memberMessage` (optional) | string | | | `memberNote` (optional) | string | | | `reasonCategory` (optional) | string | | | `status` | string | | | `updatedAt` | string | | - `401` Signed out. - `404` No open request. ### Is this person verified ``` GET https://api.guild.xyz/users/{userId}/person-verification ``` Public, cached 30 seconds, no personal data. `verified` is true while the badge is `ACTIVE` and not past `validUntil`. Times are unix seconds. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | User id (UUID). string | **Returns** 200: The badge state. (PublicVerificationBody) | Field | Type | Description | | --- | --- | --- | | `validUntil` (optional) | integer (int64) | Unix seconds. | | `verified` | boolean | | | `verifiedAt` (optional) | integer (int64) | Unix seconds. | - `404` Not a user id. ## Plus ### The caller's Guild Plus state ``` GET https://api.guild.xyz/me/plus ``` The `PlusEntitlement` plus the 20 most recent `payments`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The state. (PlusStateBody) | Field | Type | Description | | --- | --- | --- | | `active` | boolean | | | `annual` | boolean | | | `annualSince` (optional) | string | | | `boosts` | integer (int32) | | | `cancelAtPeriodEnd` | boolean | | | `currentPeriodEnd` (optional) | string | | | `handleHoldUntil` (optional) | string | | | `payments` | PlusPaymentBody[] | | | `plan` (optional) | string | | | `plusSince` (optional) | string | | | `source` (optional) | string | | | `status` (optional) | string | | - `401` Signed out. ### Start a card checkout ``` POST https://api.guild.xyz/me/plus/checkout ``` Returns the Stripe Checkout URL. 409 `PLUS_ALREADY_ACTIVE` when a card subscription is already active. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (PlusPlanInput): | Field | Type | Description | | --- | --- | --- | | `cancelUrl` (optional) | string | | | `plan` | string | `MONTHLY` or `YEARLY`. | | `successUrl` (optional) | string | | | `walletAddress` (optional) | string | Crypto quote only: the paying wallet, for the billing receipt. | **Returns** 200: The checkout URL. (PlusUrlBody) | Field | Type | Description | | --- | --- | --- | | `url` | string | | - `401` Signed out. - `409` `PLUS_ALREADY_ACTIVE`. - `422` Validation failed. - `503` `PLUS_UNAVAILABLE`. ### Confirm a USDC payment ``` POST https://api.guild.xyz/me/plus/crypto/confirm ``` Verified on our own Base node. 200 with the confirmed payment, or 202 while the transaction is not yet mined or has fewer than 5 confirmations (poll `GET /me/plus/crypto/{paymentId}`). **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (CryptoConfirmInput): | Field | Type | Description | | --- | --- | --- | | `paymentId` | string (uuid) | | | `txHash` | string | | **Returns** 200: Confirmed. (PlusPaymentBody) | Field | Type | Description | | --- | --- | --- | | `amountUsdCents` | integer (int32) | | | `createdAt` | string | | | `id` | string (uuid) | | | `periodEnd` (optional) | string | | | `plan` | string | | | `source` | string | | | `status` | string | | | `txHash` (optional) | string | | - `401` Signed out. - `404` No such quote. - `409` `PAYMENT_NOT_PENDING` or `TX_ALREADY_USED`. - `422` `PAYMENT_MISMATCH` or validation failed. ### Quote a USDC payment on Base ``` POST https://api.guild.xyz/me/plus/crypto/quote ``` Send `USDC.transfer(payTo, amount)` with `dataSuffix` appended to the calldata, then call `/me/plus/crypto/confirm`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (PlusPlanInput): | Field | Type | Description | | --- | --- | --- | | `cancelUrl` (optional) | string | | | `plan` | string | `MONTHLY` or `YEARLY`. | | `successUrl` (optional) | string | | | `walletAddress` (optional) | string | Crypto quote only: the paying wallet, for the billing receipt. | **Returns** 200: The quote. (CryptoQuoteBody) | Field | Type | Description | | --- | --- | --- | | `amount` | string | | | `chainId` | integer (int64) | | | `dataSuffix` | string | | | `decimals` | integer (int64) | | | `expiresAt` | string | | | `payTo` | string | | | `paymentId` | string (uuid) | | | `tokenAddress` | string | | - `401` Signed out. - `409` `PLUS_ALREADY_ACTIVE` (card). - `422` Validation failed. - `429` `TOO_MANY_PENDING_QUOTES`. - `503` `CRYPTO_UNAVAILABLE`. ### A crypto payment ``` GET https://api.guild.xyz/me/plus/crypto/{paymentId} ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `paymentId` | path | Payment id (UUID). string | **Returns** 200: The payment. (PlusPaymentBody) | Field | Type | Description | | --- | --- | --- | | `amountUsdCents` | integer (int32) | | | `createdAt` | string | | | `id` | string (uuid) | | | `periodEnd` (optional) | string | | | `plan` | string | | | `source` | string | | | `status` | string | | | `txHash` (optional) | string | | - `401` Signed out. - `404` No such payment. ### Open the Stripe billing portal ``` POST https://api.guild.xyz/me/plus/portal ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The portal URL. (PlusUrlBody) | Field | Type | Description | | --- | --- | --- | | `url` | string | | - `401` Signed out. - `404` `NO_BILLING_ACCOUNT`. ### Upgrade a monthly card plan to annual ``` POST https://api.guild.xyz/me/plus/upgrade ``` Swaps the member's Stripe subscription item to the yearly price. The unused monthly time is credited and the yearly price is charged at once with the saved card; a declined card changes nothing (402 `PAYMENT_FAILED`). Calling it again on an annual plan is a no-op. 409 `PLUS_PAST_DUE`, `PLUS_CANCELLING`, `PLUS_NOT_ACTIVE` or `NOT_CARD_SUBSCRIPTION` when the plan cannot be upgraded in place. Returns the same body as `GET /me/plus`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The state after the upgrade. (PlusStateBody) | Field | Type | Description | | --- | --- | --- | | `active` | boolean | | | `annual` | boolean | | | `annualSince` (optional) | string | | | `boosts` | integer (int32) | | | `cancelAtPeriodEnd` | boolean | | | `currentPeriodEnd` (optional) | string | | | `handleHoldUntil` (optional) | string | | | `payments` | PlusPaymentBody[] | | | `plan` (optional) | string | | | `plusSince` (optional) | string | | | `source` (optional) | string | | | `status` (optional) | string | | - `401` Signed out. - `402` `PAYMENT_FAILED`. - `409` The plan cannot be upgraded in place. - `503` `PLUS_UNAVAILABLE`. ### Grant Guild Plus (staff) ``` POST https://api.guild.xyz/plus/admin/grants ``` Gives a member Plus without payment for `days` (default one period). Superadmin only; needs a `reason` and is written to the staff log. 409 when a card subscription is active. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (PlusGrantInput): | Field | Type | Description | | --- | --- | --- | | `days` (optional) | integer (int64) | Length of the grant; defaults to one period of the plan. | | `plan` | string | | | `reason` | string | Why, 1 to 1000 characters. Required; recorded in the staff log. | | `userId` | string (uuid) | | **Returns** 200: The member's state. (PlusStateBody) | Field | Type | Description | | --- | --- | --- | | `active` | boolean | | | `annual` | boolean | | | `annualSince` (optional) | string | | | `boosts` | integer (int32) | | | `cancelAtPeriodEnd` | boolean | | | `currentPeriodEnd` (optional) | string | | | `handleHoldUntil` (optional) | string | | | `payments` | PlusPaymentBody[] | | | `plan` (optional) | string | | | `plusSince` (optional) | string | | | `source` (optional) | string | | | `status` (optional) | string | | - `401` Signed out. - `403` Not staff. - `409` `PLUS_ALREADY_ACTIVE`. - `422` Validation failed, or no reason. - `503` `AUDIT_UNAVAILABLE`: nothing was changed. ### End a staff grant (staff) ``` DELETE https://api.guild.xyz/plus/admin/grants/{userId} ``` Ends the member's Guild Plus now, only when it is a staff grant (a card or USDC subscription is never touched: refund it instead) and releases their boosts. Superadmin only; the JSON body carries the `reason`, and the change is written to the staff log. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Member id (UUID). string | **Body** (StaffReasonInput): | Field | Type | Description | | --- | --- | --- | | `reason` | string | Why, 1 to 1000 characters. Required; recorded in the staff log. | **Returns** 200: The member's state. (PlusStateBody) | Field | Type | Description | | --- | --- | --- | | `active` | boolean | | | `annual` | boolean | | | `annualSince` (optional) | string | | | `boosts` | integer (int32) | | | `cancelAtPeriodEnd` | boolean | | | `currentPeriodEnd` (optional) | string | | | `handleHoldUntil` (optional) | string | | | `payments` | PlusPaymentBody[] | | | `plan` (optional) | string | | | `plusSince` (optional) | string | | | `source` (optional) | string | | | `status` (optional) | string | | - `401` Signed out. - `403` Not staff. - `404` `NO_ACTIVE_GRANT`. - `422` A reason is required. - `503` `AUDIT_UNAVAILABLE`: nothing was changed. ### Refund a card payment through Stripe (staff) ``` POST https://api.guild.xyz/plus/admin/payments/{paymentId}/refund ``` Refunds the whole payment on the member's card through the Stripe refunds API, with one idempotency key per payment (a repeat never refunds twice), then marks it REFUNDED, ends the entitlement and releases the boosts. USDC payments are refused (`NOT_A_CARD_PAYMENT`): send the money back by hand and use `/refunded`. Superadmin only; needs a `reason` and is written to the staff log. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `paymentId` | path | Payment id (UUID). string | **Body** (StaffReasonInput): | Field | Type | Description | | --- | --- | --- | | `reason` | string | Why, 1 to 1000 characters. Required; recorded in the staff log. | **Returns** 200: The refunded payment. (PlusPaymentBody) | Field | Type | Description | | --- | --- | --- | | `amountUsdCents` | integer (int32) | | | `createdAt` | string | | | `id` | string (uuid) | | | `periodEnd` (optional) | string | | | `plan` | string | | | `source` | string | | | `status` | string | | | `txHash` (optional) | string | | - `401` Signed out. - `403` Not staff. - `404` No such payment. - `409` `ALREADY_REFUNDED`, `NOT_A_CARD_PAYMENT` or `NOT_REFUNDABLE`. - `422` A reason is required. - `502` `REFUND_FAILED`: Stripe refused; nothing was changed here. - `503` `AUDIT_UNAVAILABLE` or card payments not configured. ### Record a refund made by hand (staff) ``` POST https://api.guild.xyz/plus/admin/payments/{paymentId}/refunded ``` For a payment that was refunded outside Guild (a USDC transfer back, or a card refund made in the Stripe dashboard). Marks the payment REFUNDED, ends the member's entitlement now and releases their boosts. It moves no money. Superadmin only; needs a `reason` and is written to the staff log. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `paymentId` | path | Payment id (UUID). string | **Body** (StaffReasonInput): | Field | Type | Description | | --- | --- | --- | | `reason` | string | Why, 1 to 1000 characters. Required; recorded in the staff log. | **Returns** 200: The refunded payment. (PlusPaymentBody) | Field | Type | Description | | --- | --- | --- | | `amountUsdCents` | integer (int32) | | | `createdAt` | string | | | `id` | string (uuid) | | | `periodEnd` (optional) | string | | | `plan` | string | | | `source` | string | | | `status` | string | | | `txHash` (optional) | string | | - `401` Signed out. - `403` Not staff. - `404` No such payment. - `409` `ALREADY_REFUNDED`. - `422` A reason is required. - `503` `AUDIT_UNAVAILABLE`: nothing was changed. ### Prices and benefits of Guild Plus ``` GET https://api.guild.xyz/plus/offer ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The offer. (PlusOfferBody) | Field | Type | Description | | --- | --- | --- | | `annualPerks` | string[] | | | `benefits` | object | | | `card` | boolean | | | `crypto` | object | | | `prices` | object | | | `recommended` | string | | ## Third Party ### Get citizen-score passport NFT metadata ``` GET https://api.guild.xyz/metadata/{type}/{contractAddress}/{userAddress}/{tokenId} ``` OpenSea-style tokenURI metadata endpoint for a citizen-score passport NFT: resolves the holder from userAddress and the guild from the NFT reward contract at contractAddress, then reports that guild's Citizen Score POINTS platform leaderboard score for the holder (0 if the guild has none configured). tokenId is accepted for URI-shape compatibility but not otherwise used. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `type` | path | Metadata type; only 'passport' is currently supported. string | | `contractAddress` | path | The NFT reward contract's address, case-insensitive. string | | `userAddress` | path | The token holder's EVM address, case-insensitive. string | | `tokenId` | path | The token id. Accepted but not used to look anything up. string | **Returns** 200: Passport metadata. (ThirdPartyMetadataResponse) | Field | Type | Description | | --- | --- | --- | | `attributes` | ThirdPartyMetadataAttribute[] | Always exactly one entry: the holder's Citizen Score. | | `description` | string | | | `image` | string | The guild's image, or a Guild default image when it has none set. | | `name` | string | ' Passport'. | - `400` type was not 'passport'. - `404` No Guild user is linked to userAddress, or no NFT reward exists at contractAddress. - `422` One of the four path segments was empty. - `429` Rate limit hit. See the Retry-After header. - `500` Failed to retrieve metadata (unexpected internal error). ### Get a verified contract's ABI ``` GET https://api.guild.xyz/third-party/contract-abi/{chainId}/{address} ``` Fetches and parses a contract's verified ABI, preferring Etherscan's multichain API (following one level of proxy-implementation redirection) and falling back to the chain's own block-explorer API when Etherscan doesn't cover the chain or fails. Results are cached for a week. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `chainId` | path | Chain identifier, e.g. 'ETHEREUM' or 'POLYGON'. string | | `address` | path | Contract address, case-insensitive. string | **Returns** 200: The contract's ABI. (ThirdPartyContractAbiEntry[]) - `400` Unrecognized chainId, or the contract's source is not verified on any supported explorer. - `401` Not logged in (missing, expired, or invalid Guild session). - `422` address is not a 20-byte hex address. - `429` Rate limit hit. See the Retry-After header. - `500` The block explorer lookup failed unexpectedly (upstream error, or an unparseable ABI). ### Search CryptoRank currencies ``` GET https://api.guild.xyz/third-party/cryptorank ``` Searches CryptoRank's currency list (symbol exact match ranked first, then symbol prefix, then name substring) as value/label select options, for configuring a CryptoRank price/rank requirement. The full currency list is cached for a day. Returns an empty list (not an error) when Guild's CryptoRank API key is unconfigured or the upstream fetch fails. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | Max results. Defaults to 100. integer (int64) | | `offset` (optional) | query | Pagination offset. Defaults to 0. integer (int64) | | `search` (optional) | query | Symbol/name search term. Defaults to no filter. string | **Returns** 200: Matching currencies. (ThirdPartyCryptoRankCurrencyOption[]) - `422` limit or offset was not coercible to an integer. - `429` Rate limit hit. See the Retry-After header. ### List the caller's manageable Discord servers ``` GET https://api.guild.xyz/third-party/discord/servers ``` Lists Discord servers the logged-in user can manage, across every Discord identity linked to their Guild account, as label/value/img select options. Servers from identities that individually fail to fetch are dropped silently; only an all-identities failure is an error. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The caller's manageable Discord servers. (ThirdPartyDiscordServerOption[]) - `400` The caller has no linked Discord identity. - `401` Not logged in (missing, expired, or invalid Guild session). - `404` The session's user id no longer exists. - `429` Rate limit hit. See the Retry-After header. - `502` Could not fetch Discord servers for any linked identity; ask the user to reconnect their Discord account. ### List a Discord server's roles ``` GET https://api.guild.xyz/third-party/discord/servers/{serverId}/roles ``` Lists a Discord server's roles as label/value select options. Results are served from a short-lived cache unless refresh=true is passed. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `serverId` | path | Discord server (guild) snowflake id. string | | `refresh` (optional) | query | Bypass the cache and force a fresh Discord fetch. Accepts common boolean keywords (true/false/yes/no/1/0/on/off), case-insensitive. Defaults to false. boolean | **Returns** 200: The server's roles. (ThirdPartyDiscordRoleOption[]) - `400` The caller has no linked Discord identity. - `401` Not logged in (missing, expired, or invalid Guild session). - `404` The session's user id no longer exists, or the Discord server was not found (bot not in the server, or wrong id). - `422` serverId was empty, or refresh was not a recognized boolean keyword. - `429` Rate limit hit. See the Retry-After header. ### Search Farcaster users ``` GET https://api.guild.xyz/third-party/farcaster/users ``` Searches Farcaster users by username via Neynar, as value/label/img select options. Results are cached for an hour. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `search` | query | Username search term; required, non-empty. string | **Returns** 200: Matching Farcaster users. (ThirdPartyFarcasterUserOption[]) - `422` search was missing or empty. - `429` Rate limit hit (either the caller's own, or Neynar's — see the Retry-After header). - `500` The upstream Neynar request failed unexpectedly. ### Get a Farcaster user by fid ``` GET https://api.guild.xyz/third-party/farcaster/users/{fid} ``` Looks up a single Farcaster user by fid via Neynar. Results are cached for a week. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `fid` | path | Farcaster fid (numeric). string | **Returns** 200: The Farcaster user. (ThirdPartyFarcasterUser) | Field | Type | Description | | --- | --- | --- | | `fid` | integer (int64) | Farcaster fid. | | `image` (optional) | string | Profile picture URL; absent when the user has none set. | | `username` | string | | - `404` No Farcaster user with this fid. - `422` fid was not coercible to a number. - `429` Rate limit hit (either the caller's own, or Neynar's — see the Retry-After header). - `500` The upstream Neynar request failed unexpectedly. ### Get an NFT reward contract's details ``` GET https://api.guild.xyz/third-party/nft/{chainId}/{address} ``` Reads an NFT reward contract's details (creator, standard, supply, fee, token 0 metadata, ...) live via multicall, or from a 5-minute Redis cache. Browser/CDN caching is disabled so confirmed edits are visible immediately after the authenticated edit path evicts the Redis entry. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `chainId` | path | Chain identifier, e.g. 'ETHEREUM' or 'POLYGON'. string | | `address` | path | NFT contract address, case-insensitive. string | **Returns** 200: The contract's details. (ThirdPartyNftDetails) | Field | Type | Description | | --- | --- | --- | | `creator` | string | Contract owner address, lowercased. | | `fee` | string | Decimal string. | | `maxSupply` | string | | | `metadata` (optional) | object or ThirdPartyNftMetadata | | | `mintableAmountPerUser` | string | | | `name` | string | | | `soulbound` | boolean | The contract's `locked()` return value (whether the NFT is non-transferable). | | `standard` | string | 'ERC-721' or 'ERC-1155'. | | `totalSupply` | string | Decimal string (too large for a JSON number in general). | | `treasury` | string | Treasury address, lowercased. | - `400` Unrecognized chainId. - `422` address is not a 20-byte hex address. - `429` Rate limit hit (either the caller's own, or the upstream RPC provider's — see the Retry-After header). - `500` No RPC is configured for this chain, or an unexpected error occurred fetching the token's metadata. - `502` The contract read (multicall) failed upstream. ### List an NFT contract's collectors ``` GET https://api.guild.xyz/third-party/nft/{chainId}/{address}/collectors ``` Lists every wallet holding at least one token of the contract (paged from Alchemy's getOwnersForContract, summing balances per collector), plus the top 100 by balance. Ethereum and Base collector rankings are unavailable until Guild has its own NFT ownership index; other chains require Alchemy NFT API support. Successful responses carry a cache-control: s-maxage=180 header. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `chainId` | path | Chain identifier, e.g. 'ETHEREUM' or 'POLYGON'. string | | `address` | path | NFT contract address, case-insensitive. string | **Returns** 200: The contract's collectors. (ThirdPartyNftCollectors) | Field | Type | Description | | --- | --- | --- | | `topCollectors` | ThirdPartyNftCollector[] | Up to 100 collectors, sorted by balance descending. | | `uniqueCollectors` | integer (int64) | Total number of distinct collector addresses (may exceed `topCollectors.len()`). | - `400` Unrecognized chainId, or this chain has no Alchemy NFT API support. - `422` address is not a 20-byte hex address. - `429` Rate limit hit. See the Retry-After header. - `502` The upstream Alchemy lookup failed after retries. - `503` Guild's own NFT ownership index is not yet available for Ethereum or Base. ### Search POAP events ``` GET https://api.guild.xyz/third-party/poaps ``` Searches POAP events by name as value/label/img select options, for configuring a POAP requirement. Results are cached for a week when search is empty. Returns an empty list (not an error) when Guild's POAP API key is unconfigured. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `offset` (optional) | query | Pagination offset. Defaults to 0. integer (int64) | | `limit` (optional) | query | Max results. Defaults to 50. integer (int64) | | `search` (optional) | query | Case-insensitive event name filter. Defaults to no filter. string | **Returns** 200: Matching POAP events. (ThirdPartyPoapOption[]) - `422` offset or limit was not coercible to an integer. - `429` Rate limit hit. See the Retry-After header. - `500` The upstream POAP API request failed unexpectedly. ### Search POINTS platforms ``` GET https://api.guild.xyz/third-party/points ``` Searches guilds' POINTS platforms across the whole app as label/value/img/details select options, for wiring a POINTS-type requirement to another guild's points. guildIdLike pins/filters to one guild by id or URL name; an id that doesn't match any guild is silently ignored rather than erroring. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | Max results; fractional values are truncated, not rejected. Defaults to 100. number (double) | | `offset` (optional) | query | Pagination offset; fractional values are truncated, not rejected. Defaults to 0. number (double) | | `search` (optional) | query | Case-insensitive search term. Defaults to no filter. string | | `guildIdLike` (optional) | query | Guild id or URL name to pin/filter results to. string | **Returns** 200: Matching POINTS platforms. (ThirdPartyPointsOption[]) - `401` Not logged in (missing, expired, or invalid Guild session). - `422` limit or offset was not coercible to a number. - `429` Rate limit hit. See the Retry-After header. - `500` Failed to fetch points data (database error). ### Check the Guild bot's status in a Telegram group ``` GET https://api.guild.xyz/third-party/telegram/groups/{chatId} ``` Checks whether the Guild Telegram bot is in the group, is an administrator, and holds the 'invite users' and 'ban users' permissions needed for Telegram rewards. Never returns a transport-level error: every failure (bot missing, wrong id, insufficient permissions, ...) is reported as a 500 with ok: false and a human-readable message; only a genuine 200 means the group is ready to use. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `chatId` | path | Telegram chat id (numeric; negative for groups/supergroups). string | **Returns** 200: Bot is set up correctly in the group. (ThirdPartyTelegramGroupStatus) | Field | Type | Description | | --- | --- | --- | | `groupIcon` (optional) | string | Present when `ok` is `true` and the group has an icon set. | | `groupName` (optional) | string | Present when `ok` is `true`. | | `message` (optional) | string | Present when `ok` is `false`: why the check failed. | | `migratedToChatId` (optional) | string | Present when Telegram reports the group migrated to a supergroup: re-issue the request with this chat id instead. | | `ok` | boolean | `true` once the bot can create invite links and ban members in the group. | - `422` chatId was empty. - `429` Rate limit hit. See the Retry-After header. - `500` Bot is missing, not an admin, or lacks permissions in the group (body still ok: false plus a message). ### Create a single-use Telegram invite link ``` POST https://api.guild.xyz/third-party/telegram/invite-link ``` Creates a single-use Telegram invite link for a user claiming a Telegram reward, first unbanning them in case they were previously removed. Never returns a transport-level error for a Telegram-side failure: that comes back as a 500 with ok: false and a human-readable message. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Body** (ThirdPartyCreateInviteLinkRequest): | Field | Type | Description | | --- | --- | --- | | `chatId` | string | Telegram chat id (numeric, as a string; negative for groups/supergroups). | | `name` (optional) | string | Overrides the invite link's display name (shown in Telegram's admin UI only). | | `userId` | string | Guild user id the invite link is issued for; used as the link's display name when `name` is omitted. | **Returns** 200: Invite link created. (ThirdPartyTelegramInviteLinkResult) | Field | Type | Description | | --- | --- | --- | | `inviteLink` (optional) | string | Present when `ok` is `true`: a single-use Telegram invite link. | | `message` (optional) | string | Present when `ok` is `false`. | | `migratedToChatId` (optional) | string | Present when Telegram reports the group migrated to a supergroup. | | `ok` | boolean | | - `400` Malformed JSON request body. - `422` The body was not a JSON object, or chatId/userId was missing, empty, or not a string. - `429` Rate limit hit. See the Retry-After header. - `500` Failed to create the invite link (body still ok: false plus a message). ### Remove (ban) a user from a Telegram group ``` POST https://api.guild.xyz/third-party/telegram/remove-user ``` Removes a user from a Telegram group by banning them without revoking their messages, used when a Telegram-gated reward's access is lost. Never returns a transport-level error for a Telegram-side failure: that comes back as a 500 with ok: false and a human-readable message. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Body** (ThirdPartyRemoveTelegramUserRequest): | Field | Type | Description | | --- | --- | --- | | `chatId` | string | | | `userId` | string | | **Returns** 200: User removed. (ThirdPartyTelegramRemoveUserResult) | Field | Type | Description | | --- | --- | --- | | `message` (optional) | string | Present when `ok` is `false`. | | `migratedToChatId` (optional) | string | Present when Telegram reports the group migrated to a supergroup. | | `ok` | boolean | | - `400` Malformed JSON request body. - `422` The body was not a JSON object, or chatId/userId was missing, empty, or not a string. - `429` Rate limit hit. See the Retry-After header. - `500` Failed to remove the user (body still ok: false plus a message). ## Notifications ### The caller's mutes ``` GET https://api.guild.xyz/notification-mutes ``` Muted threads and spaces that have not ended, and the guilds turned down to `MENTIONS` or `NOTHING`. A guild at `ALL` has no entry. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The mutes. (NotificationMutes) | Field | Type | Description | | --- | --- | --- | | `mutes` | NotificationMute[] | | - `401` Not logged in. - `503` `NOTIFICATIONS_UNAVAILABLE`: the table is not created yet. ### Mute a thread or a space, or set a guild's level ``` PUT https://api.guild.xyz/notification-mutes ``` `THREAD` (target: the thread's root message id) and `SPACE` (target: the page id) take a `duration` of `1h`, `8h`, `24h` or `forever`. A muted thread or space sends this member no inbox entry, browser notice, Telegram message or digest line and carries no unread badge. `GUILD` takes a `level`: `ALL`, `MENTIONS` (only mentions and replies addressed to the member) or `NOTHING`; the caller must belong to the guild. Replaces any earlier mute of the same target. At most 500 mutes per member. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (NotificationMuteRequest): | Field | Type | Description | | --- | --- | --- | | `duration` (optional) | string | `THREAD` and `SPACE`: `1h`, `8h`, `24h` or `forever`. | | `level` (optional) | string | `GUILD`: `ALL` (removes the entry), `MENTIONS` or `NOTHING`. | | `scope` | string | `THREAD`, `SPACE` or `GUILD`. | | `targetId` | string (uuid) | | **Returns** 200: The mutes after the change. (NotificationMutes) | Field | Type | Description | | --- | --- | --- | | `mutes` | NotificationMute[] | | - `400` Malformed JSON. - `401` Not logged in. - `404` No such thread, space, or guild membership. - `422` Unknown scope, duration or level, or too many mutes. - `503` `NOTIFICATIONS_UNAVAILABLE`. ### Turn a mute off ``` DELETE https://api.guild.xyz/notification-mutes/{scope}/{targetId} ``` Removes the mute of a thread, a space, or a guild level (back to `ALL`). Removing something that is not muted is a no-op. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `scope` | path | `THREAD`, `SPACE` or `GUILD`. string | | `targetId` | path | Root message id, page id or guild id (UUID). string | **Returns** 200: The mutes after the change. (NotificationMutes) | Field | Type | Description | | --- | --- | --- | | `mutes` | NotificationMute[] | | - `401` Not logged in. - `422` Unknown scope or invalid id. - `503` `NOTIFICATIONS_UNAVAILABLE`. ### The caller's notification settings ``` GET https://api.guild.xyz/notification-settings ``` Per channel (browser, e-mail, Telegram) a master switch and one switch per kind of event (mentions, replies, announcements). A member who never changed anything gets the defaults: browser on, e-mail and Telegram off. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The settings. (NotificationSettings) | Field | Type | Description | | --- | --- | --- | | `channels` | object | `{ browser, email, telegram }`, each a `NotificationChannelPrefs`. Defaults: browser on, e-mail and Telegram off, every kind on. | | `delivery` | object | `{ browser, email, telegram }` booleans: which channels the server is currently allowed to deliver on (operator flags). | | `email` | object | `{ address: string \| null, deliverable: boolean }`. `address` is masked (`a***@example.com`): the EMAIL identity, else the GOOGLE one. | | `inbox` | object | In-app inbox switches, one per notification type: `{ SPACE_MENTION: true, SPACE_REPLY: true, SPACE_ANNOUNCEMENT: true, PROPOSAL: true, REFERRAL_JOINED: true, ROLE_ACCESS_LOST: true, PROFILE_LEVEL_UP: true }`. `false` keeps that type out of the bell. Default: all on. | | `telegram` | object | `{ connected, started, blocked, available, botUsername }`. `connected`: a TELEGRAM identity exists. `started`: the member pressed Start in the bot. `blocked`: Telegram refused a message because the member blocked the bot. `available`: the server can send at all. | | `timeZone` (optional) | string | IANA time zone for the daily digest; `null` means UTC. | - `401` Not logged in. - `503` `NOTIFICATIONS_UNAVAILABLE`: the tables are not created yet. ### Change the caller's notification settings ``` PATCH https://api.guild.xyz/notification-settings ``` Only the keys present change. `timeZone` is the IANA zone the daily digest follows; send it when the member turns e-mail on. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (NotificationSettingsPatch): | Field | Type | Description | | --- | --- | --- | | `channels` (optional) | object | `{ browser?, email?, telegram? }`, each a partial `NotificationChannelPrefs`. | | `inbox` (optional) | object | `{ [type]: boolean }` for the types listed on `NotificationSettings.inbox`. | | `timeZone` (optional) | string | IANA name (the browser's `Intl.DateTimeFormat().resolvedOptions().timeZone`), or `null` to clear. | **Returns** 200: The settings after the change. (NotificationSettings) | Field | Type | Description | | --- | --- | --- | | `channels` | object | `{ browser, email, telegram }`, each a `NotificationChannelPrefs`. Defaults: browser on, e-mail and Telegram off, every kind on. | | `delivery` | object | `{ browser, email, telegram }` booleans: which channels the server is currently allowed to deliver on (operator flags). | | `email` | object | `{ address: string \| null, deliverable: boolean }`. `address` is masked (`a***@example.com`): the EMAIL identity, else the GOOGLE one. | | `inbox` | object | In-app inbox switches, one per notification type: `{ SPACE_MENTION: true, SPACE_REPLY: true, SPACE_ANNOUNCEMENT: true, PROPOSAL: true, REFERRAL_JOINED: true, ROLE_ACCESS_LOST: true, PROFILE_LEVEL_UP: true }`. `false` keeps that type out of the bell. Default: all on. | | `telegram` | object | `{ connected, started, blocked, available, botUsername }`. `connected`: a TELEGRAM identity exists. `started`: the member pressed Start in the bot. `blocked`: Telegram refused a message because the member blocked the bot. `available`: the server can send at all. | | `timeZone` (optional) | string | IANA time zone for the daily digest; `null` means UTC. | - `400` Malformed JSON. - `401` Not logged in. - `422` Unknown field, wrong type or unknown time zone. - `503` `NOTIFICATIONS_UNAVAILABLE`. ### Who the realtime notification stream is for ``` GET https://api.guild.xyz/notification-settings/stream ``` Answers the realtime gateway, which forwards the browser's cookie: the member's id and the guilds they belong to. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The member behind the cookie. (NotificationStreamIdentity) | Field | Type | Description | | --- | --- | --- | | `guildIds` | string[] | Guilds the member belongs to; the gateway delivers guild-wide announcements only to sockets whose list contains the guild. | | `userId` | string (uuid) | | - `401` Not logged in. ### A member pressed Start in the Telegram bot ``` POST https://api.guild.xyz/notification-settings/telegram/start ``` Called by the Telegram integration (service key in `x-guild-auth-token`) when someone opens `t.me/?start=notify`. Finds the Guild member who connected that Telegram account and records that the bot may message them. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (object): **Returns** 200: Recorded. - `401` Missing or wrong service key. - `404` `TELEGRAM_NOT_CONNECTED`: no Guild member has connected this Telegram account. - `422` Invalid body. - `503` `NOTIFICATIONS_UNAVAILABLE`. ### Unsubscribe confirmation page for the digest e-mail ``` GET https://api.guild.xyz/notification-settings/unsubscribe ``` Shows a confirmation page with a button that POSTs the same signed `token`. It changes nothing itself, so a mail scanner that prefetches the link cannot unsubscribe anyone. No login. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `token` | query | The signed token from the e-mail link. string | **Returns** 200: The confirmation page (HTML). - `400` The token is missing or not valid (HTML). ### Unsubscribe from the digest e-mail (RFC 8058 one-click) ``` POST https://api.guild.xyz/notification-settings/unsubscribe ``` What a mail client posts for `List-Unsubscribe=One-Click`, and what the confirmation page's button submits. Turns the e-mail channel off for the member the signed `token` was issued to. A form post gets an HTML page, anything else JSON. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `token` | query | The signed token from the e-mail link. string | **Returns** 200: Unsubscribed. - `400` The token is missing or not valid. - `503` `NOTIFICATIONS_UNAVAILABLE`. ## Pages ### List a guild's pages ``` GET https://api.guild.xyz/pages ``` List every page belonging to a guild, each annotated with a computed visibility status. Pages the caller cannot see (hidden, or unlockable without a granted reward) are silently omitted from the list rather than causing an error. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | query | Guild id (UUID) or url name. string | **Returns** 200: The guild's pages. (PagesPageResponse[]) - `404` No guild matches guildIdLike. - `422` Request validation failed: missing/invalid guildIdLike. - `503` Visibility filtering failed transiently ('Unable to apply visibility filtering'); retry. ### Create a page ``` POST https://api.guild.xyz/pages ``` Create a new page in a guild. Pages can be attached to roles (via `roles`) so the page's content gates or documents that role. If `urlName` is omitted it is derived from `name`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | query | Guild id (UUID) or url name to create the page in. string | **Body** (PagesCreateRequest): | Field | Type | Description | | --- | --- | --- | | `coverOpacity` (optional) | number (double) | 0-1. | | `coverUrl` (optional) | string | | | `description` (optional) | string | Up to 1500 characters. | | `logoUrl` (optional) | string | | | `name` | string | 1-255 characters. | | `roleLayout` (optional) | object | Layout configuration for the page's role list — a discriminated union on an inner `type` field ("classic", "detailedCards", "catalogGrid", "progressionPath", "spotlight", or "comparisonMatrix"), each with its own variant-specific display fields. | | `roles` (optional) | PagesRoleRef[] | Roles to attach this page to. Defaults to an empty list when omitted. | | `tags` (optional) | string[] | Defaults to an empty list when omitted. | | `urlName` (optional) | string | 1-50 characters; must not itself look like a UUID. Derived from `name` when omitted. | **Returns** 201: The created page. (PagesPageResponse) | Field | Type | Description | | --- | --- | --- | | `coverOpacity` (optional) | number (double) | | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Only set for pages migrated from the legacy platform. | | `logoUrl` (optional) | string | | | `name` | string | | | `permissions` | PagesPermissions | The `read`/`write` PERMISSION-reward role ids gating a page, or `null` when that action is unrestricted. | | `roleLayout` (optional) | object | See `PagesCreateRequest.roleLayout` for the shape. Only present when the page (or the last update to touch it) set one. | | `roles` | PagesRoleRef[] | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | | `visibility` (optional) | string | Computed visibility (`PUBLIC`, `HIDDEN`, or `UNLOCKABLE`). Present on read/list responses; omitted from the create response. | - `400` Malformed JSON in the request body. - `401` Missing, invalid, or expired Guild session. - `403` Authenticated, but not an admin, owner, or superAdmin of the guild. - `404` No guild matches guildIdLike. - `409` A page with this urlName already exists in the guild, or `roles` names a quest's role (QUEST_ROLE_ON_PAGE: quest roles are page-less). - `422` Request validation failed: missing/invalid guildIdLike, or an invalid page field in the body. - `429` Rate limit hit. See the Retry-After header. ### Delete a page ``` DELETE https://api.guild.xyz/pages/{pageIdLike} ``` Delete a page and detach it from any roles that reference it. The guild's built-in home page cannot be deleted. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageIdLike` | path | Page id (UUID) or url name (max 50 characters). string | | `guildIdLike` | query | Guild id (UUID) or url name the page belongs to. string | **Returns** 204: The page was deleted. - `400` The page is the guild's home page, which cannot be deleted. - `401` Missing, invalid, or expired Guild session. - `403` Authenticated, but not an admin, owner, or superAdmin of the guild. - `404` No guild matches guildIdLike, or no page matches pageIdLike. - `422` Request validation failed: missing/invalid guildIdLike or pageIdLike. - `429` Rate limit hit. See the Retry-After header. ### Get a page ``` GET https://api.guild.xyz/pages/{pageIdLike} ``` Get a single page by id or url name, scoped to a guild, with a computed visibility status included. A 404 means either that no page matches, or that the page exists but is hidden/unlockable and not accessible to the caller — both cases return an identical 404 so an anonymous caller cannot tell the difference. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `pageIdLike` | path | Page id (UUID) or url name (max 50 characters). string | | `guildIdLike` | query | Guild id (UUID) or url name the page belongs to. string | **Returns** 200: The page. (PagesPageResponse) | Field | Type | Description | | --- | --- | --- | | `coverOpacity` (optional) | number (double) | | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Only set for pages migrated from the legacy platform. | | `logoUrl` (optional) | string | | | `name` | string | | | `permissions` | PagesPermissions | The `read`/`write` PERMISSION-reward role ids gating a page, or `null` when that action is unrestricted. | | `roleLayout` (optional) | object | See `PagesCreateRequest.roleLayout` for the shape. Only present when the page (or the last update to touch it) set one. | | `roles` | PagesRoleRef[] | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | | `visibility` (optional) | string | Computed visibility (`PUBLIC`, `HIDDEN`, or `UNLOCKABLE`). Present on read/list responses; omitted from the create response. | - `404` No guild matches guildIdLike, no page matches pageIdLike, or the page is not visible to the caller. - `422` Request validation failed: missing/invalid guildIdLike or pageIdLike. - `503` Visibility filtering failed transiently ('Unable to apply visibility filtering'); retry. ### Update a page ``` PUT https://api.guild.xyz/pages/{pageIdLike} ``` Shallow-merge the given fields onto an existing page and return the merged result. The built-in Home and Admin pages reject changes to urlName. Changing urlName to a value already used by another page in the guild fails with a conflict. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageIdLike` | path | Page id (UUID) or url name (max 50 characters). string | | `guildIdLike` | query | Guild id (UUID) or url name the page belongs to. string | **Body** (PagesUpdateRequest): | Field | Type | Description | | --- | --- | --- | | `coverOpacity` (optional) | number (double) | | | `coverUrl` (optional) | string | | | `description` (optional) | string | | | `logoUrl` (optional) | string | | | `name` (optional) | string | | | `roleLayout` (optional) | object | | | `roles` (optional) | PagesRoleRef[] | | | `tags` (optional) | string[] | | | `urlName` (optional) | string | | | `visibility` (optional) | string | `PUBLIC`, `HIDDEN`, or `UNLOCKABLE`. | **Returns** 200: The updated page. (PagesPageResponse) | Field | Type | Description | | --- | --- | --- | | `coverOpacity` (optional) | number (double) | | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Only set for pages migrated from the legacy platform. | | `logoUrl` (optional) | string | | | `name` | string | | | `permissions` | PagesPermissions | The `read`/`write` PERMISSION-reward role ids gating a page, or `null` when that action is unrestricted. | | `roleLayout` (optional) | object | See `PagesCreateRequest.roleLayout` for the shape. Only present when the page (or the last update to touch it) set one. | | `roles` | PagesRoleRef[] | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | | `visibility` (optional) | string | Computed visibility (`PUBLIC`, `HIDDEN`, or `UNLOCKABLE`). Present on read/list responses; omitted from the create response. | - `400` Malformed JSON body, or the update changes a field the built-in Home/Admin page has frozen (e.g. renaming its urlName). - `401` Missing, invalid, or expired Guild session. - `403` Authenticated, but not an admin, owner, or superAdmin of the guild. - `404` No guild matches guildIdLike, or no page matches pageIdLike. - `409` A page with this urlName already exists in the guild, or `roles` names a quest's role (QUEST_ROLE_ON_PAGE: quest roles are page-less). - `422` Request validation failed: missing/invalid guildIdLike or pageIdLike, or an invalid page field in the body. - `429` Rate limit hit. See the Retry-After header. ### Get who can see a page ``` GET https://api.guild.xyz/pages/{pageIdLike}/audience ``` The page's audience as the admin editor derives it: UNLOCKABLE when non-system read permissions on the page exist (roleIds are the roles holding one), HIDDEN when the page is hidden to admins, otherwise PUBLIC. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageIdLike` | path | Page id (UUID) or url name (max 50 characters). string | | `guildIdLike` | query | Guild id (UUID) or url name the page belongs to. string | **Returns** 200: The page's audience. (PagesAudienceResponse) | Field | Type | Description | | --- | --- | --- | | `mode` | string | `PUBLIC`, `UNLOCKABLE` or `HIDDEN`. | | `role_ids` | string (uuid)[] | The roles that open the page; empty unless `mode` is `UNLOCKABLE`. | - `401` Missing, invalid, or expired Guild session. - `403` Authenticated, but not an admin, owner, or superAdmin of the guild. - `404` No guild matches guildIdLike, or no page of that guild matches pageIdLike. - `422` Request validation failed: missing/invalid guildIdLike or pageIdLike. - `429` Rate limit hit. See the Retry-After header. ### Set who can see a page ``` PUT https://api.guild.xyz/pages/{pageIdLike}/audience ``` Set the page's audience in one request. UNLOCKABLE needs a non-empty roleIds of this guild's roles; PUBLIC and HIDDEN take none. Runs the same ordered steps as the admin editor (create or reuse the page's read permission, grant or revoke it on roles, delete it, hide or unhide), so the page never opens to more people than either end allows, even between steps. Calls for one page are serialized. A no-op when the audience is unchanged. If a step fails the request errors; repeat it to finish. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageIdLike` | path | Page id (UUID) or url name (max 50 characters). string | | `guildIdLike` | query | Guild id (UUID) or url name the page belongs to. string | **Body** (PagesAudienceRequest): | Field | Type | Description | | --- | --- | --- | | `mode` | string | `PUBLIC` (anyone), `UNLOCKABLE` (holders of `roleIds`), or `HIDDEN` (admins only). | | `role_ids` (optional) | string (uuid)[] | The roles whose holders can see the page. Required and non-empty for `UNLOCKABLE`, each a role of the guild; must be absent or empty for `PUBLIC` and `HIDDEN`. | **Returns** 200: The resulting audience. (PagesAudienceResponse) | Field | Type | Description | | --- | --- | --- | | `mode` | string | `PUBLIC`, `UNLOCKABLE` or `HIDDEN`. | | `role_ids` | string (uuid)[] | The roles that open the page; empty unless `mode` is `UNLOCKABLE`. | - `400` roleIds missing/empty for UNLOCKABLE or present for PUBLIC/HIDDEN (AUDIENCE_INVALID), or a role is not a role of this guild (AUDIENCE_ROLE_NOT_IN_GUILD). - `401` Missing, invalid, or expired Guild session. - `403` Authenticated, but not an admin, owner, or superAdmin of the guild. - `404` No guild matches guildIdLike, or no page of that guild matches pageIdLike. - `422` Request validation failed: missing/invalid guildIdLike or pageIdLike, an unknown mode, or roleIds is not an array of UUIDs. - `429` Rate limit hit. See the Retry-After header. ### Reorder a page's roles ``` PUT https://api.guild.xyz/pages/{pageIdLike}/roles/order ``` Set the display order of the roles on a page. roleIds must be exactly the page's current role ids as a permutation (no additions, removals or duplicates); otherwise 400 with code ROLE_ORDER_MISMATCH naming the missing and extra ids. Role entries are preserved as stored; only their order changes. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageIdLike` | path | Page id (UUID) or url name (max 50 characters). string | | `guildIdLike` | query | Guild id (UUID) or url name the page belongs to. string | **Body** (PagesRoleOrderRequest): | Field | Type | Description | | --- | --- | --- | | `role_ids` | string (uuid)[] | The page's roles in the new display order. Must contain every role currently on the page exactly once. | **Returns** 200: The updated page. (PagesPageResponse) | Field | Type | Description | | --- | --- | --- | | `coverOpacity` (optional) | number (double) | | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Only set for pages migrated from the legacy platform. | | `logoUrl` (optional) | string | | | `name` | string | | | `permissions` | PagesPermissions | The `read`/`write` PERMISSION-reward role ids gating a page, or `null` when that action is unrestricted. | | `roleLayout` (optional) | object | See `PagesCreateRequest.roleLayout` for the shape. Only present when the page (or the last update to touch it) set one. | | `roles` | PagesRoleRef[] | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | | `visibility` (optional) | string | Computed visibility (`PUBLIC`, `HIDDEN`, or `UNLOCKABLE`). Present on read/list responses; omitted from the create response. | - `400` Malformed body, or roleIds is not a permutation of the page's roles (ROLE_ORDER_MISMATCH). - `401` Missing, invalid, or expired Guild session. - `403` Authenticated, but not an admin, owner, or superAdmin of the guild. - `404` No guild matches guildIdLike, or no page matches pageIdLike. - `422` Request validation failed: missing/invalid guildIdLike or pageIdLike, or roleIds is not an array of UUIDs. - `429` Rate limit hit. See the Retry-After header. ## People ### Get a person card ``` GET https://api.guild.xyz/people/{userId} ``` Public profile card for any Guild user, for hover cards. Never includes wallets, identities or emails. With `guild`, adds the person's standing in that guild; `roleIds` lists only held roles the caller may see (guild admins see all, everyone else only PUBLIC roles). Cached privately for 30 s. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | User id (UUID). string | | `guild` (optional) | query | Guild id (UUID). string | **Returns** 200: The person card. (PersonCardSchema) | Field | Type | Description | | --- | --- | --- | | `avatarUrl` (optional) | string | | | `bannerUrl` (optional) | string | | | `bio` (optional) | string | | | `createdAt` | string | | | `guild` (optional) | object or PersonCardGuildSchema | | | `hasProfile` | boolean | | | `id` | string | | | `name` | string | | | `profileLevel` (optional) | integer (int32) | Profile level (`docs/PROFILES.md` section 14). Null unless the caller may see it: full-view data, shown only when the member shows it (by default, when the profile is public), and before the first computation. | | `username` (optional) | string | | | `verified` | boolean | | - `400` `userId` or `guild` is not a UUID. - `404` Unknown user or guild. ## Platforms ### Create a platform ``` POST https://api.guild.xyz/platforms ``` Create a DISCORD or POINTS platform on a guild. The caller must be the guild's owner, an admin, or a Guild super admin. For DISCORD, the caller must have a linked Discord account and be an admin of the target server (our bot must already be invited there); the server must not already back another platform. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (PlatformsCreatePlatformRequest): | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object or PlatformsCreatePlatformDiscordData | | | `guildId` | string (uuid) | | | `type` | string | `DISCORD` or `POINTS`. | | `ui` (optional) | object or PlatformsPlatformUi | | **Returns** 201: The created platform. (PlatformsPlatformResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `data` | object | Discord: `{ serverId, inviteChannel?, invite?, joinButton?, needCaptcha? }`. Points: `{ pointId, pointsConfig?, tiers? }`. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | | | `status` (optional) | string | `CONNECTED`, `DEGRADED`, or `DISCONNECTED`. Only ever set for DISCORD platforms, and only once (re-)read via `GET /platforms/{platformId}` — always absent immediately after creation. | | `type` | string | `DISCORD` or `POINTS`. | | `ui` | PlatformsPlatformUi | `UiSchema` — display metadata shared by every platform type. | | `uniqueId` | string | `{type}-{platformUniqueId}`, e.g. `DISCORD-1234567890`. | | `updatedAt` | string | ISO 8601. | | `visibility` (optional) | string | `PUBLIC` or `HIDDEN`. Absent immediately after creation; only populated once the platform is re-read. | - `400` Malformed JSON body, a missing required identity link for the platform type, or (DISCORD) the target server already backs another platform. - `401` Not logged in. - `403` The caller isn't the guild's owner/admin, or (DISCORD) isn't an admin of the target server / our bot isn't invited there. - `404` `guildId` doesn't match any guild. - `422` The request body doesn't match the expected shape for the given `type`. - `429` Rate limit hit. See the Retry-After header. ### Redirect to a Discord server's icon ``` GET https://api.guild.xyz/platforms/discord/servers/{serverId}/icon ``` Redirects to the given Discord server's icon image, or to Guild's default Discord icon if the server has none set or the lookup fails. Always redirects — a lookup failure degrades to the default icon rather than surfacing as an error response. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `serverId` | path | Numeric Discord server (guild) id. string | - `302` Redirect to the server's icon, or the default icon. - `422` `serverId` isn't a numeric string. - `429` Rate limit hit. See the Retry-After header. ### List creatable platform options ``` GET https://api.guild.xyz/platforms/options ``` List the caller's connectable targets for the given platform type. For `DISCORD`, this is the Discord servers the caller's linked Discord account(s) administer, and requires a linked Discord identity. For `POINTS`, there is nothing to list and the response is always `[]`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformType` | query | `DISCORD` or `POINTS`. string | **Returns** 200: Creatable options (always `[]` for POINTS). (PlatformsSelectOption[]) - `400` The caller has no linked Discord account (DISCORD only). - `401` Not logged in. - `422` `platformType` is missing or not one of the supported types. - `429` Rate limit hit. See the Retry-After header. ### List POINTS platforms ``` GET https://api.guild.xyz/platforms/points ``` List all POINTS platforms across every guild, with guild info and a distinct-claimant user count for each. Not guild-scoped — any authenticated user can call this for any guild's platforms. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | Max rows to return. Defaults to 100. integer (int64) | | `offset` (optional) | query | Rows to skip. Defaults to 0. integer (int64) | | `search` (optional) | query | Case-insensitive match against the platform's display name or the owning guild's name/url name, or an exact match against the platform's point id or platform id. Defaults to no filter. string | **Returns** 200: The matching POINTS platforms. (PlatformsPointsPlatformListResponse) | Field | Type | Description | | --- | --- | --- | | `platforms` | PlatformsPointsPlatformSummary[] | | - `401` Not logged in. - `422` `limit`, `offset`, or `search` failed validation. - `429` Rate limit hit. See the Retry-After header. ### Delete a platform ``` DELETE https://api.guild.xyz/platforms/{platformId} ``` Delete a platform, zero out every user's balance on it (POINTS only, in the same DB transaction as the delete), and best-effort clean up any dynamic-reward Protocol groups it backed. The caller must be the guild's owner, an admin, or a Guild super admin. Answers 200 with the deleted platform, not 204. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The platform id. string (uuid) | **Returns** 200: The deleted platform. (PlatformsPlatformRow) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `data` | object | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int32) | | | `platformUniqueId` | string | | | `type` | string | | | `ui` (optional) | object or PlatformsPlatformUi | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | `PUBLIC` or `HIDDEN`. | - `401` Not logged in. - `403` The caller isn't the guild's owner/admin. - `404` No platform with this id. - `409` QUEST_POINTS_SYSTEM: a quest that is not archived pays on this points system; archive it first. - `422` `platformId` isn't a UUID. - `429` Rate limit hit. See the Retry-After header. ### Get a platform ``` GET https://api.guild.xyz/platforms/{platformId} ``` Get a platform by id, or (with `uniqueId=true`) by its uniqueId (e.g. `DISCORD-1234567890`). Public: no session is required, but a logged-in caller who owns/admins the owning guild (or is a Guild super admin) can additionally see a HIDDEN platform that an anonymous or non-admin caller gets a 404 for. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The platform id, or (with `uniqueId=true`) its uniqueId. string | | `uniqueId` (optional) | query | Interpret `platformId` as a uniqueId instead of a database id. Defaults to false. boolean | **Returns** 200: The platform. (PlatformsPlatformDetail) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `data` | object | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int32) | Raw DB column — narrower than [`PlatformsPlatformResponse`]'s `legacyId` (`i32` here vs `i64` there); the read path passes it through unvalidated instead of re-parsing it. | | `platformUniqueId` | string | The stored unique-id suffix `uniqueId` is derived from. | | `status` (optional) | string | Only ever set for DISCORD platforms. | | `type` | string | | | `ui` (optional) | object or PlatformsPlatformUi | | | `uniqueId` | string | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | `PUBLIC` or `HIDDEN`. | - `404` No matching platform, or it's HIDDEN and the caller isn't an admin of the owning guild. - `422` `uniqueId` isn't a recognized boolean-ish string. - `429` Rate limit hit. See the Retry-After header. ### Update a platform ``` PUT https://api.guild.xyz/platforms/{platformId} ``` Update a platform's UI, POINTS config/tiers, or visibility. POINTS systems require owner/admin access to the stored platform's owning guild. A `platformId` that doesn't match any platform is not a 404: the request still succeeds, with a `null` response body. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The platform id. string (uuid) | **Body** (PlatformsUpdatePlatformRequest): | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object or PlatformsUpdatePlatformData | | | `ui` (optional) | object or PlatformsUpdatePlatformUi | | | `visibility` (optional) | string | `PUBLIC` or `HIDDEN`. | **Returns** 200: The updated platform, or `null` if `platformId` doesn't match any platform. (PlatformsPlatformRow) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `data` | object | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int32) | | | `platformUniqueId` | string | | | `type` | string | | | `ui` (optional) | object or PlatformsPlatformUi | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | `PUBLIC` or `HIDDEN`. | - `400` Malformed JSON body. - `401` Not logged in. - `403` The caller cannot administer this POINTS platform's guild. - `422` `platformId` isn't a UUID, or the request body failed schema validation. - `429` Rate limit hit. See the Retry-After header. ### Send the Discord join button ``` POST https://api.guild.xyz/platforms/{platformId}/join-button ``` Post the verification button to a selected text channel in the platform's Discord server. Defaults to the invite channel when omitted. The caller must be the guild's owner/admin. Optional title, description and buttonLabel customize this message only. Channel membership and bot permissions are rechecked before posting. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The platform id. string (uuid) | **Body** (object or PlatformsJoinButtonRequest): **Returns** 201: The button was sent. (PlatformsEmptyResponse) - `400` The platform isn't a DISCORD platform. - `401` Not logged in. - `403` The caller isn't the guild's owner/admin. - `404` No platform with this id. - `422` `platformId` isn't a UUID. - `429` Rate limit hit. See the Retry-After header. ### List verification-message channels and live bot permissions ``` GET https://api.guild.xyz/platforms/{platformId}/join-button/channels ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The Discord platform id. string (uuid) | **Returns** 200: Text and announcement channels in the connected server. (DiscordVerificationChannel[]) - `401` Not logged in. - `403` Not a guild administrator, or the bot cannot access the server. - `404` Platform or Discord server not found. ### Get a POINTS platform's leaderboard ``` GET https://api.guild.xyz/platforms/{platformId}/leaderboard ``` Get the paginated leaderboard for a POINTS platform, plus aggregate stats (total ranked users, total points distributed, weekly active earners, source mix). Public: no session required, but if `userId` is given and that user has a rank, the response's `user` field carries their entry. A logged-in caller can additionally see a HIDDEN platform's leaderboard if they own/admin the owning guild (or are a Guild super admin). **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The platform id. string (uuid) | | `userId` (optional) | query | Include this user's own rank/amount in the response's `user` field. string (uuid) | | `offset` (optional) | query | Rows to skip. Defaults to 0. integer (int64) | | `limit` (optional) | query | Max rows to return. Defaults to 100. integer (int64) | **Returns** 200: The leaderboard. (PlatformsLeaderboardResponse) | Field | Type | Description | | --- | --- | --- | | `leaderboard` | PlatformsLeaderboardEntry[] | | | `limit` | integer (int64) | | | `offset` | integer (int64) | | | `sourceMix` | object[] | Breakdown of point sources; opaque here since it isn't part of a validated upstream schema. | | `total` | integer (int64) | Total number of ranked users. | | `totalPoints` | integer (int64) | Sum of all points ever distributed on this platform. | | `user` (optional) | object or PlatformsLeaderboardUserEntry | | | `weeklyEarners` | integer (int64) | | - `400` The platform isn't a POINTS platform. - `404` No platform with this id, or it's HIDDEN and the caller isn't an admin of the owning guild. - `422` `platformId`, `userId`, `offset`, or `limit` failed validation. - `429` Rate limit hit. See the Retry-After header. ### Export a POINTS platform's leaderboard as CSV ``` GET https://api.guild.xyz/platforms/{platformId}/leaderboard/csv ``` Export the full leaderboard of a POINTS platform as `userId,pointAmount` CSV rows (a third column of identity ids is added when `identityPlatform` is given). Requires owner, admin or super-admin access to the guild owning the requested POINTS platform, including hidden systems. A supplied guild query parameter never changes which guild is authorized. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The platform id. string (uuid) | | `identityPlatform` (optional) | query | Add a column with each user's identity id on this platform, e.g. `DISCORD`, `EVM`, `X`. string | | `limit` (optional) | query | Max rows to export. Defaults to 1000. integer (int64) | **Returns** 200: CSV export of the leaderboard. - `400` The platform isn't a POINTS platform. - `401` Not logged in. - `403` The caller cannot administer the platform's owning guild. - `404` No platform with this id. - `422` `platformId`, `identityPlatform`, or `limit` failed validation. - `429` Rate limit hit. See the Retry-After header. ### List a platform's creatable reward options ``` GET https://api.guild.xyz/platforms/{platformId}/options ``` List the roles of a DISCORD platform's server as creatable reward options; always `[]` for a POINTS platform. Note this always evaluates platform visibility as an anonymous caller (regardless of who is logged in), so even the owning guild's own admin gets a 404 here for a HIDDEN platform. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The platform id. string (uuid) | **Returns** 200: Creatable reward options (always `[]` for POINTS). (PlatformsRewardOption[]) - `401` Not logged in. - `404` No platform with this id, or it's HIDDEN. - `422` `platformId` isn't a UUID. - `429` Rate limit hit. See the Retry-After header. ### Reset a POINTS platform's balances ``` POST https://api.guild.xyz/platforms/{platformId}/reset ``` Set every member's current balance on a POINTS platform to zero by appending auditable correction transactions. The platform, rewards, and complete transaction history are retained. The caller must be the guild's owner, an admin, or a Guild super admin. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `platformId` | path | The POINTS platform id. string (uuid) | **Returns** 200: Balances were reset (or were already zero). (ResetPointsPlatformResult) | Field | Type | Description | | --- | --- | --- | | `affectedUsers` | integer (int64) | | | `transactionsCreated` | integer (int64) | | - `400` The target is not a POINTS platform in the owning guild. - `401` Not logged in. - `403` The caller isn't the guild's owner/admin. - `404` No platform with this id. - `422` `platformId` isn't a UUID. - `429` Rate limit hit. See the Retry-After header. ## Profile ### List the cosmetics catalog ``` GET https://api.guild.xyz/profile/cosmetics ``` Returns every sticker and background currently available to equip on a profile. Public; no authentication required. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: The cosmetics catalog. (ProfileCosmeticsCatalog) | Field | Type | Description | | --- | --- | --- | | `backgrounds` | ProfileCosmeticItem[] | | | `stickers` | ProfileCosmeticItem[] | | - `429` Rate limit hit for signed-in callers (anonymous requests are not limited here). See the Retry-After header. ### Create a cosmetic ``` POST https://api.guild.xyz/profile/cosmetics/{type} ``` Adds a new sticker or background to the catalog. Superadmin only. `requirement` is accepted for forward compatibility but is always stored as an empty object today, regardless of what is sent. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `type` | path | Cosmetic category: "sticker" or "background". string | **Body** (ProfileCreateCosmeticRequest): | Field | Type | Description | | --- | --- | --- | | `imageUrl` | string | Must be a valid absolute URL. | | `name` | string | Non-empty. | | `rarity` (optional) | string | Only `"default"` is currently accepted; omit for the default. | | `requirement` (optional) | object | Accepted but currently ignored — cosmetics are always created with an empty requirement object regardless of what is sent here. | **Returns** 200: The created cosmetic. (ProfileCosmeticItem) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `id` | string (uuid) | | | `imageUrl` | string | | | `name` | string | | | `rarity` | string | Only `"default"` exists today. | | `requirement` | object | Reserved for future gating rules; always an empty object today. | | `type` | string | `"sticker"` or `"background"`. | | `updatedAt` | string | ISO 8601. | - `400` Malformed JSON in the request body. - `401` Not logged in. - `403` Logged in, but not a superadmin. - `422` Request validation failed — invalid "type", or a missing/invalid imageUrl, name, rarity, or requirement field. - `429` Rate limit hit. See the Retry-After header. ### Delete a cosmetic ``` DELETE https://api.guild.xyz/profile/cosmetics/{type}/{id} ``` Removes a sticker or background from the catalog. Profiles that already equipped it keep their own copy (the imageUrl is denormalized onto the profile at equip time) — they just can no longer re-select it. Superadmin only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `type` | path | Cosmetic category: "sticker" or "background". string | | `id` | path | Cosmetic id, as returned by the create endpoint. string | **Returns** 200: Deleted. (ProfileCosmeticDeleted) | Field | Type | Description | | --- | --- | --- | | `success` | boolean | | - `401` Not logged in. - `403` Logged in, but not a superadmin. - `404` No cosmetic with this id exists under this type. - `422` Invalid "type" (must be "sticker" or "background"). - `429` Rate limit hit. See the Retry-After header. ### Update a cosmetic ``` PUT https://api.guild.xyz/profile/cosmetics/{type}/{id} ``` Patches an existing sticker or background. At least one of imageUrl, name, rarity, or requirement must be present in the body. Superadmin only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `type` | path | Cosmetic category: "sticker" or "background". string | | `id` | path | Cosmetic id, as returned by the create endpoint. string | **Body** (ProfileUpdateCosmeticRequest): | Field | Type | Description | | --- | --- | --- | | `imageUrl` (optional) | string | | | `name` (optional) | string | | | `rarity` (optional) | string | Only `"default"` is currently accepted. | | `requirement` (optional) | object | | **Returns** 200: The updated cosmetic. (ProfileCosmeticItem) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `id` | string (uuid) | | | `imageUrl` | string | | | `name` | string | | | `rarity` | string | Only `"default"` exists today. | | `requirement` | object | Reserved for future gating rules; always an empty object today. | | `type` | string | `"sticker"` or `"background"`. | | `updatedAt` | string | ISO 8601. | - `400` Malformed JSON in the request body. - `401` Not logged in. - `403` Logged in, but not a superadmin. - `404` No cosmetic with this id exists under this type. - `422` Request validation failed — invalid "type", an invalid imageUrl/name/rarity/requirement field, or an empty body (no field provided to update). - `429` Rate limit hit. See the Retry-After header. ### Get a user's profile by username ``` GET https://api.guild.xyz/profiles/by-username/{username} ``` Same response shape as `GET /profiles/{userId}`, looked up by profile username instead. Matching is case-insensitive and trims surrounding whitespace. 404 if no profile has this username. Public; exempt from the standard per-user rate limit. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `username` | path | Profile username, 1-50 characters. string | **Returns** 200: The user's profile. (ProfileUserProfileResponse) | Field | Type | Description | | --- | --- | --- | | `profile` | ProfileData | The `profile` document embedded in the user-profile endpoints. `followers_count`/`following_count` stay snake_case on the wire — the rest of the object is camelCase. This mixed casing is the real API response shape, not a typo. | | `userId` | string (uuid) | | - `404` No profile with this username. - `422` "username" is missing, empty, or longer than 50 characters. ### List OG and Status rank definitions ``` GET https://api.guild.xyz/profiles/ranks ``` Static thresholds for the OG rank ladder (requires both minYears and minTx) and the Status rank ladder (minScore only). Not user-specific — see `GET /profiles/{userId}/ranks` for a user's current rank. Public, and exempt from the standard per-user rate limit (the exemption is keyed on the `GET /profiles/` shape, which this static path also matches). **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: Rank definitions. (ProfileRankConfigsResponse) | Field | Type | Description | | --- | --- | --- | | `og` | ProfileOgRank[] | | | `status` | ProfileStatusRank[] | | ### List skill definitions ``` GET https://api.guild.xyz/profiles/skills ``` Static catalog of every skill and its XP level thresholds. Not user-specific — see `GET /profiles/{userId}/skills` for a user's progress. Public, and exempt from the standard per-user rate limit (the exemption is keyed on the `GET /profiles/` shape, which this static path also matches). **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: Skill definitions. (ProfileSkillConfig[]) ### List users with an unverified profile ``` GET https://api.guild.xyz/profiles/unverified ``` Moderation queue of users whose `profile.verified` is `false`. Row order is unspecified (no ordering is applied). Superadmin only. Exempt from the standard per-user rate limit — the exemption is keyed on the `GET /profiles/` shape, which this static path also matches. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `limit` (optional) | query | Max rows to return, must be a positive integer. Defaults to 1000; values above 1000 are silently capped at 1000. integer (int64) | **Returns** 200: Users with an unverified profile. (ProfileUnverifiedUsersResponse) | Field | Type | Description | | --- | --- | --- | | `total` | integer (int64) | | | `users` | ProfileUnverifiedUser[] | | - `401` Not logged in. - `403` Logged in, but not a superadmin. - `422` "limit" is not a positive integer. ### Delete a user's profile ``` DELETE https://api.guild.xyz/profiles/{userId} ``` Deletes the profile document (equipped cosmetics included). Does not affect the user account itself, guild memberships, or claimed rewards. Callers may only delete their own profile unless they are a superadmin — a superadmin deleting someone else's profile is recorded as an audit event. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | **Returns** 200: Deleted. (ProfileDeleteProfileResponse) | Field | Type | Description | | --- | --- | --- | | `message` | string | `"Profile deleted"`. | | `success` | boolean | | - `403` Not logged in, or logged in as a different user than "userId" without superadmin rights. - `404` The user has no profile. - `422` "userId" is not a valid UUID. - `429` Rate limit hit. See the Retry-After header. ### Get a user's profile ``` GET https://api.guild.xyz/profiles/{userId} ``` Returns the user's profile document. 404 if the user does not exist, or exists but has not created a profile yet (see `POST /profiles/{userId}`). Public; exempt from the standard per-user rate limit. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | **Returns** 200: The user's profile. (ProfileUserProfileResponse) | Field | Type | Description | | --- | --- | --- | | `profile` | ProfileData | The `profile` document embedded in the user-profile endpoints. `followers_count`/`following_count` stay snake_case on the wire — the rest of the object is camelCase. This mixed casing is the real API response shape, not a typo. | | `userId` | string (uuid) | | - `404` The user does not exist, or has no profile yet. - `422` "userId" is not a valid UUID. ### Create a user's profile ``` POST https://api.guild.xyz/profiles/{userId} ``` Creates the profile document from the user's linked X identity, and joins them to the OG/Status skill groups to start data-point collection. If a profile already exists and X is linked, refreshes only its X-owned fields (avatar, username and follower counts), preserving member-authored details and cosmetics. Callers may only create or sync their own profile unless they are a superadmin. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | **Returns** 200: The existing or newly created profile. (ProfileCreateProfileResponse) | Field | Type | Description | | --- | --- | --- | | `message` | string | `"Profile synced"`, `"Profile already exists"`, or `"Profile created"`. | | `profile` | ProfileData | The `profile` document embedded in the user-profile endpoints. `followers_count`/`following_count` stay snake_case on the wire — the rest of the object is camelCase. This mixed casing is the real API response shape, not a typo. | | `userId` | string (uuid) | | - `400` The user has no linked X identity. - `403` Not logged in, or logged in as a different user than "userId" without superadmin rights. - `404` "userId" does not exist. - `422` "userId" is not a valid UUID. - `429` Rate limit hit. See the Retry-After header. ### Update a user's profile ``` PUT https://api.guild.xyz/profiles/{userId} ``` Sets the profile's authored fields (`displayName`, `description`) and/or its equipped stickers and background. Each field is applied independently and only if present in the body; pass an explicit `null` to clear one. `username` and `avatarUrl` are seeded from the linked X identity and are not editable here — `username` addresses `/profile/{username}` and is not unique in storage, so letting it be rewritten would move a live URL onto an already-ambiguous key. Shape and range validation runs first, so more than 5 stickers, a displayName over 100 characters, a description over 500, or an out-of-range position/opacity/blur value is a 422. Sticker/background ids are then checked against the cosmetics catalog (`GET /profile/cosmetics`); an unknown id is a 400, because the body itself was well-formed. 404 if the user has not created a profile yet (see `POST /profiles/{userId}`). Callers may only update their own profile unless they are a superadmin. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | **Body** (ProfileUpdateCosmeticsRequest): | Field | Type | Description | | --- | --- | --- | | `background` (optional) | object or ProfileBackgroundInput | | | `description` (optional) | string | The profile bio. At most 500 characters; a blank string is stored as `null`. | | `display_name` (optional) | string | The name shown on the profile. At most 100 characters; a blank string is stored as `null`. | | `stickers` (optional) | ProfileStickerInput[] | Replaces the full sticker list; at most 5 entries. | **Returns** 200: The updated profile. (ProfileUpdateProfileResponse) | Field | Type | Description | | --- | --- | --- | | `profile` | ProfileData | The `profile` document embedded in the user-profile endpoints. `followers_count`/`following_count` stay snake_case on the wire — the rest of the object is camelCase. This mixed casing is the real API response shape, not a typo. | | `success` | boolean | | - `400` Malformed JSON body, or a stickerId/backgroundId that is not in the cosmetics catalog. - `403` Not logged in, or logged in as a different user than "userId" without superadmin rights. - `404` The user has no profile yet. - `422` "userId" is not a valid UUID, or the request body fails shape validation (missing stickerId/backgroundId, wrong field types, more than 5 stickers, a displayName or description over its length limit, or a position/opacity/blur value outside its allowed range). - `429` Rate limit hit. See the Retry-After header. ### Get a user's onchain inventory ``` GET https://api.guild.xyz/profiles/{userId}/inventory ``` Claimed NFT/PIN rewards plus per-guild POINTS balances (verified guild memberships only). 404 if the user does not exist or has no profile yet. `forceRefresh` is accepted for backward compatibility but currently has no effect — there is no cache left to bypass. Public; exempt from the standard per-user rate limit. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | | `forceRefresh` (optional) | query | Accepted but currently a no-op. string | **Returns** 200: The user's inventory. (ProfileInventoryResponse) | Field | Type | Description | | --- | --- | --- | | `lastUpdated` | string | ISO 8601. | | `points` | object[] | Per-guild POINTS balances, verified guild memberships only, positive amounts only. Shape mirrors the `points` entries of the guild membership endpoints with `guildId`/`guildName`/`guildImageUrl` merged in. | | `rewards` | ProfileInventoryReward[] | | - `404` The user does not exist, or has no profile yet. - `422` "userId" is not a valid UUID. ### Get a user's OG and Status ranks ``` GET https://api.guild.xyz/profiles/{userId}/ranks ``` Computes the user's current OG (onchain activity) and Status (X score) ranks from their synced data points. 404 if the user does not exist or has no profile yet. `forceRefresh` is accepted but currently a no-op. Passing `recalculate=false` (the literal string) triggers a fresh skill data-point recalculation before computing ranks; any other value — including omitting the parameter or passing `true` — skips it. This inverted comparison is the real, unchanged behavior of the API, not a documentation error. Public; exempt from the standard per-user rate limit. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | | `forceRefresh` (optional) | query | Accepted but currently a no-op. string | | `recalculate` (optional) | query | Pass the literal string "false" to force recalculation before computing ranks; any other value skips it. See the endpoint description. string | **Returns** 200: The user's ranks. (ProfileUserRanksResponse) | Field | Type | Description | | --- | --- | --- | | `lastUpdated` | string | ISO 8601. | | `og` | ProfileOgSkillResult | A user's computed OG rank. | | `status` | ProfileStatusSkillResult | A user's computed Status rank. | - `404` The user does not exist, or has no profile yet. - `422` "userId" is not a valid UUID. ### Get a user's skill progress ``` GET https://api.guild.xyz/profiles/{userId}/skills ``` Every skill definition plus this user's current XP and level in it. 404 if the user does not exist or has no profile yet. Public, but — unlike the sibling `inventory`/`ranks` endpoints — not exempt from the standard per-user rate limit. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | **Returns** 200: The user's skills. (ProfileUserSkill[]) - `404` The user does not exist, or has no profile yet. - `422` "userId" is not a valid UUID. - `429` Rate limit hit for signed-in callers (anonymous requests are not limited here). See the Retry-After header. ## Requirements ### Get all integrations ``` GET https://api.guild.xyz/requirement-integrations ``` Lists Protocol integrations usable as requirements, grouped by category and sorted by category priority. Only verified integrations are included; the `LEGACY` integration is always excluded. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: Requirement integrations grouped by category. (RequirementsCategorizedIntegrations) - `404` The Protocol integrations request failed; the message is forwarded from Protocol. ### Get an integration ``` GET https://api.guild.xyz/requirement-integrations/{integrationId} ``` Gets a single Protocol integration definition plus a UI `form` schema derived from it, used to render this integration's admin configuration form. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `integrationId` | path | Integration id, matched case-insensitively (upper-cased before lookup). string | **Returns** 200: The integration definition and its derived form. (RequirementsIntegrationDetail) | Field | Type | Description | | --- | --- | --- | | `admin_id` | string (uuid) | | | `configuration_schema` | object | JSON-schema-shaped config describing this integration's admin form. | | `created_at` | string | ISO 8601. | | `display_name` | string | | | `form` | object | A UI form schema derived from `configuration_schema` and `incoming_data_config`, used to render this integration's admin configuration form. | | `id` | string | The Protocol integration id (e.g. `"DISCORD_MEMBER"`). | | `identity_types` | string[] | | | `incoming_data_config` | object | JSON-schema-shaped config describing which data this integration reports. | | `metadata` | object | Free-form — unlike the `integration` field embedded on a requirement, this endpoint does not narrow `metadata` to `category` alone. | | `verified` | boolean | | - `404` No such integration; the message is forwarded from Protocol. ### List requirements ``` GET https://api.guild.xyz/requirements ``` Lists requirements for a guild (across all of its roles) or for a single role, each enriched with its display layout and integration definition. Exactly one of `guildId`/`roleId` is required; if both are given, `roleId` takes precedence. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildId` (optional) | query | Guild id to list requirements for, across all of its roles. Ignored if `roleId` is also given. An empty string is treated the same as omitting it. string | | `roleId` (optional) | query | Role id to list requirements for. Takes precedence over `guildId` when both are given. An empty string is treated the same as omitting it. string | **Returns** 200: Requirements matching the filter. (RequirementsRequirement[]) - `400` Neither `guildId` nor `roleId` was given. - `404` The guild (`guildId`) or role (`roleId`) does not exist. ### Create requirement and add it to a role ``` POST https://api.guild.xyz/requirements ``` Creates a Protocol requirement from `data`/`integrationId` and adds it to `roleId` as a new requirement. If the role's only existing requirement is an `open_access` placeholder, this replaces that placeholder instead of adding a second requirement. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (RequirementsCreateRequest): | Field | Type | Description | | --- | --- | --- | | `custom` (optional) | object or RequirementsCustom | | | `data` | object | Requirement-type-specific configuration. For a `DISCORD_MEMBER` requirement whose operation targets `roles`, must include a Discord role and `server_id`. | | `integrationId` (optional) | string | The Protocol integration id (e.g. `"DISCORD_MEMBER"`); omit or send `null` for a non-integration requirement. | | `permissions` (optional) | object or RequirementsPermissions | | | `roleId` | string (uuid) | | **Returns** 200: Requirement created and added to the role. (RequirementsRequirement) | Field | Type | Description | | --- | --- | --- | | `configuration` (optional) | object or RequirementsConfiguration | | | `custom` | RequirementsCustom | `custom` display overrides for a requirement. | | `data` | object | Requirement-type-specific configuration; shape varies by `integrationId` / the underlying requirement type. | | `displayLayout` | RequirementsDisplayLayout | The rendered `displayLayout` for a requirement (icon/text plus optional badges/warnings), computed server-side. | | `id` | string (uuid) | | | `integration` (optional) | object or RequirementsIntegration | | | `integrationId` (optional) | string | The Protocol integration id (e.g. `"DISCORD_MEMBER"`), or `null` for a non-integration requirement (`open_access`/`role`/on-chain requirement). | | `permissions` | RequirementsPermissions | `permissions` — role ids allowed to read/write this requirement's admin config; `null`/omitted means "use the guild default". | | `requirement` | RequirementsRule | The Protocol `requirement` a requirement is backed by. | | `roleId` | string (uuid) | | - `400` Malformed JSON body, or (for a DISCORD_MEMBER `roles` requirement) a missing Discord role/server value. - `401` Missing or invalid session — log in first. - `403` Not a guild owner/admin, or the guild lacks the `custom_api_requirement` feature flag for a CUSTOM_API_CALL requirement. - `404` `roleId` does not match an existing role. - `422` Request body failed schema validation. - `500` Failed to create the requirement's configuration in Guild Protocol. ### Delete a requirement ``` DELETE https://api.guild.xyz/requirements/{requirementId} ``` Deletes a requirement from its role. If it was the role's only requirement, a fallback `open_access` requirement is created in its place. Also updates the role's logic gate when removing this requirement would otherwise leave an invalid `ANY_OF`/`NESTED` configuration. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requirementId` | path | Requirement id. string (uuid) | **Returns** 200: Deleted; always an empty object. (RequirementsDeleteResponse) - `401` Missing or invalid session — log in first. - `403` Not a guild owner or admin. - `404` Requirement not found. ### Get a requirement ``` GET https://api.guild.xyz/requirements/{requirementId} ``` Gets a single requirement, enriched with its display layout and (for integration-backed requirements) the integration definition. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `requirementId` | path | Requirement id. string (uuid) | **Returns** 200: The requirement. (RequirementsRequirement) | Field | Type | Description | | --- | --- | --- | | `configuration` (optional) | object or RequirementsConfiguration | | | `custom` | RequirementsCustom | `custom` display overrides for a requirement. | | `data` | object | Requirement-type-specific configuration; shape varies by `integrationId` / the underlying requirement type. | | `displayLayout` | RequirementsDisplayLayout | The rendered `displayLayout` for a requirement (icon/text plus optional badges/warnings), computed server-side. | | `id` | string (uuid) | | | `integration` (optional) | object or RequirementsIntegration | | | `integrationId` (optional) | string | The Protocol integration id (e.g. `"DISCORD_MEMBER"`), or `null` for a non-integration requirement (`open_access`/`role`/on-chain requirement). | | `permissions` | RequirementsPermissions | `permissions` — role ids allowed to read/write this requirement's admin config; `null`/omitted means "use the guild default". | | `requirement` | RequirementsRule | The Protocol `requirement` a requirement is backed by. | | `roleId` | string (uuid) | | - `404` No requirement with this id. ### Update a requirement ``` PUT https://api.guild.xyz/requirements/{requirementId} ``` Partially updates a requirement's `data`, `custom` display overrides, and/or backing integration. `roleId` and `permissions` are accepted by the request schema but not applied by this endpoint. If the Protocol update succeeds but the local write then fails, the Protocol change is rolled back on a best-effort basis. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requirementId` | path | Requirement id. string (uuid) | **Body** (RequirementsUpdateRequest): | Field | Type | Description | | --- | --- | --- | | `custom` (optional) | object or RequirementsCustomPatch | | | `data` (optional) | object | | | `integrationId` (optional) | string | | | `permissions` (optional) | object or RequirementsPermissionsPatch | | | `roleId` (optional) | string (uuid) | | **Returns** 200: Updated requirement. (RequirementsRequirement) | Field | Type | Description | | --- | --- | --- | | `configuration` (optional) | object or RequirementsConfiguration | | | `custom` | RequirementsCustom | `custom` display overrides for a requirement. | | `data` | object | Requirement-type-specific configuration; shape varies by `integrationId` / the underlying requirement type. | | `displayLayout` | RequirementsDisplayLayout | The rendered `displayLayout` for a requirement (icon/text plus optional badges/warnings), computed server-side. | | `id` | string (uuid) | | | `integration` (optional) | object or RequirementsIntegration | | | `integrationId` (optional) | string | The Protocol integration id (e.g. `"DISCORD_MEMBER"`), or `null` for a non-integration requirement (`open_access`/`role`/on-chain requirement). | | `permissions` | RequirementsPermissions | `permissions` — role ids allowed to read/write this requirement's admin config; `null`/omitted means "use the guild default". | | `requirement` | RequirementsRule | The Protocol `requirement` a requirement is backed by. | | `roleId` | string (uuid) | | - `400` Malformed JSON body, or (for a DISCORD_MEMBER `roles` requirement) a missing Discord role/server value. - `401` Missing or invalid session — log in first. - `403` Not a guild owner/admin, or the guild lacks the `custom_api_requirement` feature flag for a CUSTOM_API_CALL requirement. - `404` Requirement not found. - `422` Request body failed schema validation. ### Replace a requirement ``` POST https://api.guild.xyz/requirements/{requirementId}/replace ``` Creates a new Protocol requirement from `data`/`integrationId` and swaps it in for the requirement at `requirementId`, then deletes the old Protocol requirement. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requirementId` | path | Requirement to replace. string (uuid) | **Body** (RequirementsReplaceRequest): | Field | Type | Description | | --- | --- | --- | | `custom` (optional) | object or RequirementsCustom | | | `data` | object | | | `integrationId` (optional) | string | | | `permissions` (optional) | object or RequirementsPermissions | | | `requirementId` | string (uuid) | | | `roleId` | string (uuid) | | **Returns** 200: The replacement requirement. (RequirementsRequirement) | Field | Type | Description | | --- | --- | --- | | `configuration` (optional) | object or RequirementsConfiguration | | | `custom` | RequirementsCustom | `custom` display overrides for a requirement. | | `data` | object | Requirement-type-specific configuration; shape varies by `integrationId` / the underlying requirement type. | | `displayLayout` | RequirementsDisplayLayout | The rendered `displayLayout` for a requirement (icon/text plus optional badges/warnings), computed server-side. | | `id` | string (uuid) | | | `integration` (optional) | object or RequirementsIntegration | | | `integrationId` (optional) | string | The Protocol integration id (e.g. `"DISCORD_MEMBER"`), or `null` for a non-integration requirement (`open_access`/`role`/on-chain requirement). | | `permissions` | RequirementsPermissions | `permissions` — role ids allowed to read/write this requirement's admin config; `null`/omitted means "use the guild default". | | `requirement` | RequirementsRule | The Protocol `requirement` a requirement is backed by. | | `roleId` | string (uuid) | | - `400` Malformed JSON body, or (for a DISCORD_MEMBER `roles` requirement) a missing Discord role/server value. - `401` Missing or invalid session — log in first. - `403` Not a guild owner/admin, or the guild lacks the `custom_api_requirement` feature flag for a CUSTOM_API_CALL requirement. - `404` Requirement not found. - `422` Request body failed schema validation (including a body `requirementId` that is not a UUID). ## Rewards ### Create a reward ``` POST https://api.guild.xyz/rewards ``` Creates a reward on a guild and returns the created reward. The caller must own or administer the target guild; `[SYSTEM]`-prefixed visibility permission rewards additionally require the guild to have the visibility-settings subscription feature. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (RewardsCreateRequest): | Field | Type | Description | | --- | --- | --- | | `capacity` (optional) | integer (int64) | Maximum number of claims. Omit or send `null` for unlimited. | | `data` | object | Reward-type-specific configuration; required shape depends on `type` (e.g. DISCORD needs `platformId`/`roleId`, NFT/PIN need `chain`/`contractAddress`/`function`, POINTS needs `platformId`/`amount`). | | `dynamic` (optional) | object or RewardsCreateDynamic | | | `endTime` (optional) | string | ISO 8601, or epoch milliseconds. Omit or send `null` for no end restriction. | | `guildId` | string (uuid) | | | `permissions` (optional) | object or RewardsPermissions | | | `startTime` (optional) | string | ISO 8601, or epoch milliseconds. Omit or send `null` for no start restriction. | | `type` | string | `PERMISSION`, `DISCORD`, `POINTS`, `SECRET`, `NFT`, `TELEGRAM`, `FORM2`, `PIN`, `VOTING`, or `PROFILE_ITEM`. | | `ui` (optional) | object or RewardsUi | | **Returns** 201: The created reward. (RewardsResponse) | Field | Type | Description | | --- | --- | --- | | `capacity` (optional) | integer (int64) | Maximum number of claims. `null`/absent means unlimited. | | `createdAt` | string | ISO 8601, or epoch milliseconds. | | `data` | object | Reward-type-specific configuration; shape depends on `type` (e.g. DISCORD carries `platformId`/`roleId`, NFT/PIN carry `chain`/`contractAddress`/`function`, POINTS carries `platformId`/`amount`). | | `dynamic` (optional) | object or RewardsDynamic | | | `endTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no end restriction. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Present only on rows carried over from the legacy v1 id space. | | `permissions` | RewardsPermissions | `permissions` of a reward — nullable role/reward ids that, when set, gate who may read/write it beyond the guild owner/admin check. Defaults to `{ "read": null, "write": null }` when omitted from a create request. | | `startTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no start restriction. | | `type` | string | `PERMISSION`, `DISCORD`, `POINTS`, `SECRET`, `NFT`, `TELEGRAM`, `FORM2`, `PIN`, `VOTING`, or `PROFILE_ITEM`. | | `ui` (optional) | object or RewardsUi | | | `uniqueId` | string | Stable id used by `GET /rewards/{rewardId}?uniqueId=true`. | | `updatedAt` | string | ISO 8601, or epoch milliseconds. | - `400` Validation failed — an invalid body, a Discord role reward missing its display name, a DISCORD/POINTS reward without a matching platform on the guild, or a duplicate unique id. - `401` Missing or invalid Guild session. - `403` Caller does not own or administer the guild, or (for `[SYSTEM]`-prefixed rewards) the guild lacks the required subscription feature. - `404` The target guild does not exist. - `429` Rate limit hit. See the Retry-After header. ### Delete a reward ``` DELETE https://api.guild.xyz/rewards/{rewardId} ``` Deletes a reward, including any existing user claims of it (POINTS rewards may deduct already-granted points first, depending on the platform's points config). The caller must own or administer the reward's guild. Responds with HTTP 200 whose JSON body is the bare number `204` — not an empty 204 response. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `rewardId` | path | Reward id. string (uuid) | **Returns** 200: Deleted. Body is the literal JSON number `204`. (RewardsDeleteAck) - `401` Missing or invalid Guild session. - `403` Caller does not own or administer the reward's guild. - `404` No reward with this id. - `409` QUEST_REWARD: the reward pays a quest; archive the quest instead. - `429` Rate limit hit. See the Retry-After header. ### Get a reward ``` GET https://api.guild.xyz/rewards/{rewardId} ``` Fetches a single reward. Public endpoint; no authentication required. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `rewardId` | path | Reward id, or its `uniqueId` when `uniqueId=true`. string | | `uniqueId` (optional) | query | Treat `rewardId` as the reward's uniqueId instead of its UUID. Defaults to false. boolean | **Returns** 200: The reward. (RewardsResponse) | Field | Type | Description | | --- | --- | --- | | `capacity` (optional) | integer (int64) | Maximum number of claims. `null`/absent means unlimited. | | `createdAt` | string | ISO 8601, or epoch milliseconds. | | `data` | object | Reward-type-specific configuration; shape depends on `type` (e.g. DISCORD carries `platformId`/`roleId`, NFT/PIN carry `chain`/`contractAddress`/`function`, POINTS carries `platformId`/`amount`). | | `dynamic` (optional) | object or RewardsDynamic | | | `endTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no end restriction. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Present only on rows carried over from the legacy v1 id space. | | `permissions` | RewardsPermissions | `permissions` of a reward — nullable role/reward ids that, when set, gate who may read/write it beyond the guild owner/admin check. Defaults to `{ "read": null, "write": null }` when omitted from a create request. | | `startTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no start restriction. | | `type` | string | `PERMISSION`, `DISCORD`, `POINTS`, `SECRET`, `NFT`, `TELEGRAM`, `FORM2`, `PIN`, `VOTING`, or `PROFILE_ITEM`. | | `ui` (optional) | object or RewardsUi | | | `uniqueId` | string | Stable id used by `GET /rewards/{rewardId}?uniqueId=true`. | | `updatedAt` | string | ISO 8601, or epoch milliseconds. | - `404` No reward with this id. - `429` Rate limit hit. See the Retry-After header. ### Update a reward ``` PUT https://api.guild.xyz/rewards/{rewardId} ``` Updates a reward's `ui` fields, FORM2 `data.autoGrantReward`, or DISCORD `data.onAccessLoss` (`remove` by default; `keep` preserves an already-earned Discord role when Guild role access changes). The caller must own or administer the reward's guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `rewardId` | path | Reward id. string (uuid) | **Body** (RewardsUpdateRequest): | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object or RewardsUpdateData | | | `ui` (optional) | object or RewardsPartialUi | | **Returns** 200: The updated reward. (RewardsResponse) | Field | Type | Description | | --- | --- | --- | | `capacity` (optional) | integer (int64) | Maximum number of claims. `null`/absent means unlimited. | | `createdAt` | string | ISO 8601, or epoch milliseconds. | | `data` | object | Reward-type-specific configuration; shape depends on `type` (e.g. DISCORD carries `platformId`/`roleId`, NFT/PIN carry `chain`/`contractAddress`/`function`, POINTS carries `platformId`/`amount`). | | `dynamic` (optional) | object or RewardsDynamic | | | `endTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no end restriction. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Present only on rows carried over from the legacy v1 id space. | | `permissions` | RewardsPermissions | `permissions` of a reward — nullable role/reward ids that, when set, gate who may read/write it beyond the guild owner/admin check. Defaults to `{ "read": null, "write": null }` when omitted from a create request. | | `startTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no start restriction. | | `type` | string | `PERMISSION`, `DISCORD`, `POINTS`, `SECRET`, `NFT`, `TELEGRAM`, `FORM2`, `PIN`, `VOTING`, or `PROFILE_ITEM`. | | `ui` (optional) | object or RewardsUi | | | `uniqueId` | string | Stable id used by `GET /rewards/{rewardId}?uniqueId=true`. | | `updatedAt` | string | ISO 8601, or epoch milliseconds. | - `400` Validation failed, or a data field was sent for an unsupported reward type. - `401` Missing or invalid Guild session. - `403` Caller does not own or administer the reward's guild. - `404` No reward with this id. - `429` Rate limit hit. See the Retry-After header. ### Estimate a pending reward's grant time ``` GET https://api.guild.xyz/rewards/{rewardId}/estimate ``` Estimates how much longer a currently-PENDING claim of this reward, for the authenticated caller, will take to finish. Only meaningful while a grant is in progress; a 404 covers both 'the caller has no pending claim to estimate' and 'not found'. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `rewardId` | path | Reward id. string (uuid) | **Returns** 200: Estimation result. (RewardsEstimateGrantTimeResponse) | Field | Type | Description | | --- | --- | --- | | `action` (optional) | string | `"ADD"` or `"REMOVE"`. Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `code` | string | `QUEUE_POSITION_UNAVAILABLE`, `DISCORD_QUEUE_POSITION`, `ESTIMATION_SUCCESS`, or `UNSUPPORTED_REWARD_TYPE`. | | `estimateSec` (optional) | number (double) | Seconds until the grant is expected to finish. Only present when `code` is `ESTIMATION_SUCCESS`. | | `position` (optional) | integer (int64) | Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `status` (optional) | string | `"PENDING"` or `"PROCESSING"`. Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `tasksAhead` (optional) | integer (int64) | Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `type` (optional) | string | Present when `code` is `DISCORD_QUEUE_POSITION` (`"QUEUE_POSITION"`) or `ESTIMATION_SUCCESS` (`"PRECISE"`). | - `401` Missing or invalid Guild session. - `404` No reward or user with this id, or the caller has no PENDING claim of this reward to estimate. - `429` Rate limit hit. See the Retry-After header. ### Grant or revoke a reward for a user ``` POST https://api.guild.xyz/rewards/{rewardId}/manage ``` Re-evaluates access and grants or revokes the reward to match: granted when the target user currently has the required role/guild access, revoked when access was lost and the reward type supports revocation (some already-granted rewards are deliberately kept instead, e.g. POINTS with `onAccessLoss: "keep"`). Omit `roleId` for guild-membership-claimable rewards (currently only PIN); provide it for role-gated rewards. `userId` targets a different user's claim and defaults to the caller; only an admin of the reward's guild (or a super admin) may target someone else, and the response then omits the reward's `data`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `rewardId` | path | Reward id. string (uuid) | **Body** (RewardsManageRewardRequest): | Field | Type | Description | | --- | --- | --- | | `guildId` | string (uuid) | | | `roleId` (optional) | string (uuid) | Omit for guild-membership-claimable rewards (currently only PIN); required for role-gated rewards. | | `userId` (optional) | string (uuid) | Target a different user's claim. Defaults to the authenticated caller. | | `userProvidedArgs` (optional) | object or RewardsManageNftArgs | | **Returns** 200: Grant/revoke result. (RewardsManageRewardResponse) | Field | Type | Description | | --- | --- | --- | | `action` | string | `"grant"` or `"revoke"`. | | `userReward` (optional) | object | The user's `user_reward` ledger row after this call. Omitted entirely (not `null`) when there is nothing to report. NFT/PIN on-chain verification flows can add further fields alongside this one at the top level; not modeled here. `required = false` is explicit because `value_type` replaces the field's type tree — utoipa would otherwise lose the `Option` and publish this as a required property. | - `400` Validation failed, the reward was already claimed, the user has no EVM wallet connected (NFT/PIN), required role forms are not yet completed, or the reward type does not support guild-membership claiming. - `401` Missing or invalid Guild session. - `403` The target user is not a member of the guild, or the caller targeted another user without being a guild admin. - `404` No reward, or no user, with this id. - `409` This reward is already being processed for this user; retry shortly. - `429` Rate limit hit. See the Retry-After header. ## Spaces ### List a guild's spaces ``` GET https://api.guild.xyz/spaces/guild/{guildId} ``` The spaces of a guild the caller can read, with the number of unread top-level messages (capped at 99, 0 when signed out), `mentions` (unread messages, replies included, that tag the caller or answer the caller's post; capped at 99, last 30 days) and the time of the newest one. Public: signed-out visitors see the spaces whose page is public. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Returns** 200: `SpaceSummary[]`. - `404` No such guild. - `503` The spaces tables are not applied yet (`SPACES_UNAVAILABLE`). ### Read the moderation log ``` GET https://api.guild.xyz/spaces/guild/{guildId}/moderation-log ``` Every moderator action and settings change, newest first. Moderators only; the application never deletes a row. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | | `before` (optional) | query | Action id; return actions older than it. string | | `limit` (optional) | query | 1-100, default 50. integer (int64) | **Returns** 200: `ModerationLogPage`: `{ actions, hasMore }`. - `401` Signed out. - `403` Not a moderator. - `404` No such guild. - `422` Invalid query. - `503` `SPACES_UNAVAILABLE`. ### List reports ``` GET https://api.guild.xyz/spaces/guild/{guildId}/reports ``` Moderators only; newest first, at most 100. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | | `status` (optional) | query | `open` (default) or `resolved`. string | **Returns** 200: `SpaceReport[]`. - `401` Signed out. - `403` Not a moderator. - `404` No such guild. - `422` Invalid status. - `503` `SPACES_UNAVAILABLE`. ### Resolve a report ``` POST https://api.guild.xyz/spaces/guild/{guildId}/reports/{id}/resolve ``` Body `{ resolution: DISMISSED | REMOVED }`. `REMOVED` deletes the message and closes every open report on it. Moderators only; logged. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | | `id` | path | Report id (UUID). string | **Returns** 200: The `SpaceReport`. - `401` Signed out. - `403` Not a moderator. - `404` No such guild or report. - `422` Validation failed. - `503` `SPACES_UNAVAILABLE`. ### List mutes and bans ``` GET https://api.guild.xyz/spaces/guild/{guildId}/restrictions ``` Moderators only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | | `active` (optional) | query | `true` for restrictions still in force. boolean | **Returns** 200: `SpaceRestriction[]`. - `401` Signed out. - `403` Not a moderator. - `404` No such guild. - `503` `SPACES_UNAVAILABLE`. ### Mute or ban a user ``` POST https://api.guild.xyz/spaces/guild/{guildId}/restrictions ``` Body `{ userId, pageId | null, kind: MUTE | BAN, reason?, durationSeconds? }`. A null `pageId` covers every space in the guild; no duration means until lifted. Guild admins and the owner cannot be restricted. Logged. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Returns** 200: The `SpaceRestriction`. - `401` Signed out. - `403` Not a moderator, or the target is an admin. - `404` No such guild or space. - `422` Validation failed. - `503` `SPACES_UNAVAILABLE`. ### Lift a mute or ban ``` DELETE https://api.guild.xyz/spaces/guild/{guildId}/restrictions/{id} ``` Moderators only; idempotent; logged as `LIFT_RESTRICTION`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | | `id` | path | Restriction id (UUID). string | **Returns** 204: Lifted. - `401` Signed out. - `403` Not a moderator. - `404` No such guild or restriction. - `503` `SPACES_UNAVAILABLE`. ### Get the guild's space settings ``` GET https://api.guild.xyz/spaces/guild/{guildId}/settings ``` Moderator roles and the word filter. Guild admins only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Returns** 200: `GuildSpaceSettings`. - `401` Signed out. - `403` Not a guild admin. - `404` No such guild. - `503` `SPACES_UNAVAILABLE`. ### Update the guild's space settings ``` PUT https://api.guild.xyz/spaces/guild/{guildId}/settings ``` Body `{ moderatorRoleIds, wordFilter }`: up to 50 roles of this guild and up to 200 words of at most 64 characters. Guild admins only; logged as `SETTINGS_UPDATED`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Returns** 200: `GuildSpaceSettings`. - `401` Signed out. - `403` Not a guild admin. - `404` No such guild. - `422` Validation failed. - `503` `SPACES_UNAVAILABLE`. ### Unread and mention totals per guild ``` GET https://api.guild.xyz/spaces/me/unread ``` For the guild rail: per guild the caller belongs to, the number of unread top-level messages and of unread mentions or replies addressed to the caller (each capped at 99), summed over the spaces the caller can read. Muted spaces and muted threads count for nothing; a guild set to `MENTIONS` reports `unread: 0`, one set to `NOTHING` is absent. Guilds with nothing to show are absent. Returns an empty list while spaces are not available. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The totals. (UnreadOverview) | Field | Type | Description | | --- | --- | --- | | `guilds` | GuildUnread[] | Only guilds with something to show. | - `401` Not logged in. ### Remove a space ``` DELETE https://api.guild.xyz/spaces/{pageId} ``` The page becomes a plain page again and every message in the space is deleted. Guild admins only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Returns** 204: Removed. - `401` Signed out. - `403` Not a guild admin. - `404` No such space. - `503` `SPACES_UNAVAILABLE`. ### Get a space ``` GET https://api.guild.xyz/spaces/{pageId} ``` The space, what the caller may do in it, and its pinned messages. Public for spaces whose page is public. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Returns** 200: `SpaceDetail`: `{ space, viewer, pinned }`. - `401` Signed out and the page is not public. - `403` Banned (`SPACE_BANNED`). - `404` No such space, or the caller cannot see it. - `503` `SPACES_UNAVAILABLE`. ### Create or update a space ``` PUT https://api.guild.xyz/spaces/{pageId} ``` Turns a page into a space, or changes its kind, post policy, reply and slow-mode settings. Guild admins only; logged as `SPACE_UPDATED`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Body** (SpacesSpaceConfigInput): | Field | Type | Description | | --- | --- | --- | | `allowReplies` | boolean | | | `kind` | string | `FEED`, `ANNOUNCEMENTS` or `CHAT`. | | `layout` (optional) | string | Optional. Absent keeps the stored layout (reset to the default when the kind changes and it no longer fits); `null` resets to the kind's default; a string must be one of the kind's three layouts (see `Space`). | | `postPolicy` | string | `MEMBERS`, `WRITE_ROLE` or `MODERATORS`. | | `slowModeSeconds` | integer (int64) | 0-21600. | **Returns** 200: The `Space`. (SpacesSpace) | Field | Type | Description | | --- | --- | --- | | `allowReplies` | boolean | | | `createdAt` | string | | | `guildId` | string (uuid) | | | `kind` | string | `FEED`, `ANNOUNCEMENTS` or `CHAT`. | | `layout` (optional) | string | Presentation layout; `null` means the kind's default. CHAT: `CLASSIC` (default), `BUBBLES`, `COMPACT`. FEED: `CARDS` (default), `THREADS`, `GALLERY`. ANNOUNCEMENTS: `BULLETIN` (default), `CHANGELOG`, `MAGAZINE`. | | `pageId` | string (uuid) | | | `postPolicy` | string | `MEMBERS`, `WRITE_ROLE` or `MODERATORS`. | | `slowModeSeconds` | integer (int32) | 0-21600. | | `updatedAt` | string | | - `401` Signed out. - `403` Not a guild admin. - `404` No such page. - `422` Validation failed. - `503` `SPACES_UNAVAILABLE`, or `SPACE_LAYOUT_UNAVAILABLE` when a layout is set before the DDL is applied. ### What the caller may do in a space ``` GET https://api.guild.xyz/spaces/{pageId}/access ``` `SpaceViewer` for the caller, including a viewer who cannot read (all flags false). The realtime gateway calls this with the browser's cookie. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Returns** 200: The viewer's permissions. (SpacesViewer) | Field | Type | Description | | --- | --- | --- | | `canModerate` | boolean | | | `canPost` | boolean | | | `canReact` | boolean | | | `canRead` | boolean | | | `canReply` | boolean | | | `restriction` (optional) | object | `{ kind: "MUTE" \| "BAN", until: string \| null }` or `null`. | | `slowModeRemaining` | integer (int64) | Seconds left before the viewer may post again, 0 when free. | | `userId` (optional) | string | | - `404` No such space. - `503` `SPACES_UNAVAILABLE`. ### Find guild members who can read a space ``` GET https://api.guild.xyz/spaces/{pageId}/members ``` For the mention and moderation pickers. Empty `q`: who posted lately. Otherwise people who posted here whose name contains `q`, then members whose profile handle starts with `q` (two characters or more) or whose username is exactly `q`, all of whom can read the space. Signed in only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `q` (optional) | query | Name contains / handle prefix, at most 64 characters. string | | `limit` (optional) | query | 1-20, default 10. integer (int64) | **Returns** 200: `SpaceAuthor[]`. - `401` Signed out. - `403` Banned. - `404` No such space. - `422` Invalid query. - `503` `SPACES_UNAVAILABLE`. ### List top-level messages ``` GET https://api.guild.xyz/spaces/{pageId}/messages ``` Top-level messages and posts, newest first. A deleted root with no live replies is left out. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `before` (optional) | query | Message id; return messages older than it. string | | `limit` (optional) | query | 1-100, default 50. integer (int64) | **Returns** 200: `MessagePage`: `{ messages, hasMore }`. - `401` Signed out and the page is not public. - `403` Banned. - `404` No such space. - `422` Invalid query. - `503` `SPACES_UNAVAILABLE`. ### Post a message or reply ``` POST https://api.guild.xyz/spaces/{pageId}/messages ``` Posts a top-level message (needs the space's post policy) or, with `rootId`, a thread reply. Enforces mute and ban, the thread lock, slow mode, the guild word filter and the per-user rate limit (10 messages per 10 s). Mentions are written as `<@uuid>`. Publishes a realtime event after commit. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Body** (SpacesMessageInput): | Field | Type | Description | | --- | --- | --- | | `attachments` (optional) | object[] | Up to 4 images uploaded through `POST /upload` (`target: "R2"`). | | `body` | string | Trimmed, 1-4000 characters, or empty only with attachments. | | `clientId` (optional) | string (uuid) | Echoed in the realtime event so the sender can match its optimistic message. | | `replyToId` (optional) | string (uuid) | | | `rootId` (optional) | string (uuid) | | | `title` (optional) | string | At most 200 characters; FEED and ANNOUNCEMENTS roots only, required for ANNOUNCEMENTS. | **Returns** 201: The created message. (SpacesMessage) | Field | Type | Description | | --- | --- | --- | | `attachments` | object[] | | | `author` | object | | | `body` | string | Plain text with `<@uuid>` mention tokens; empty when deleted. | | `createdAt` | string | | | `deletedAt` (optional) | string | | | `editedAt` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `lastReplyAt` (optional) | string | | | `lockedAt` (optional) | string | | | `mentions` | object[] | | | `pageId` | string (uuid) | | | `pinnedAt` (optional) | string | | | `previews` | SpacesPreview[] | Link cards in body order. Fetched by the server in the background after posting and delivered by a `message.updated` event. | | `reactions` | object[] | | | `replyCount` | integer (int32) | | | `replyTo` (optional) | object | | | `rootId` (optional) | string | | | `title` (optional) | string | | - `401` Signed out. - `403` `SPACE_FORBIDDEN`, `SPACE_MUTED` or `SPACE_BANNED`. - `404` No such space. - `409` `THREAD_LOCKED`. - `422` `VALIDATION` or `WORD_FILTERED`. - `429` `SLOW_MODE` or `RATE_LIMITED`; see `retryAfter`. - `503` `SPACES_UNAVAILABLE`. ### Delete a message ``` DELETE https://api.guild.xyz/spaces/{pageId}/messages/{messageId} ``` The author deletes their own message; a moderator deletes any message (logged). The message stays as a tombstone so threads keep their shape. Optional body `{ reason? }`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | **Returns** 204: Deleted. - `401` Signed out. - `403` Neither the author nor a moderator. - `404` No such space or message. - `503` `SPACES_UNAVAILABLE`. ### Edit your message ``` PATCH https://api.guild.xyz/spaces/{pageId}/messages/{messageId} ``` Authors edit their own message within 24 hours. Body `{ title?, body }`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | **Returns** 200: The updated message. (SpacesMessage) | Field | Type | Description | | --- | --- | --- | | `attachments` | object[] | | | `author` | object | | | `body` | string | Plain text with `<@uuid>` mention tokens; empty when deleted. | | `createdAt` | string | | | `deletedAt` (optional) | string | | | `editedAt` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `lastReplyAt` (optional) | string | | | `lockedAt` (optional) | string | | | `mentions` | object[] | | | `pageId` | string (uuid) | | | `pinnedAt` (optional) | string | | | `previews` | SpacesPreview[] | Link cards in body order. Fetched by the server in the background after posting and delivered by a `message.updated` event. | | `reactions` | object[] | | | `replyCount` | integer (int32) | | | `replyTo` (optional) | object | | | `rootId` (optional) | string | | | `title` (optional) | string | | - `401` Signed out. - `403` Not the author, muted or banned. - `404` No such space or message. - `409` `EDIT_WINDOW_CLOSED`. - `422` `VALIDATION` or `WORD_FILTERED`. - `503` `SPACES_UNAVAILABLE`. ### Remove a link preview ``` DELETE https://api.guild.xyz/spaces/{pageId}/messages/{messageId}/previews ``` The author removes one link card from their own message, for everyone. `url` is the preview's `url`. The choice survives edits that keep the link. Publishes `message.updated`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | | `url` | query | The preview's `url`. string | **Returns** 200: The updated message. (SpacesMessage) | Field | Type | Description | | --- | --- | --- | | `attachments` | object[] | | | `author` | object | | | `body` | string | Plain text with `<@uuid>` mention tokens; empty when deleted. | | `createdAt` | string | | | `deletedAt` (optional) | string | | | `editedAt` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `lastReplyAt` (optional) | string | | | `lockedAt` (optional) | string | | | `mentions` | object[] | | | `pageId` | string (uuid) | | | `pinnedAt` (optional) | string | | | `previews` | SpacesPreview[] | Link cards in body order. Fetched by the server in the background after posting and delivered by a `message.updated` event. | | `reactions` | object[] | | | `replyCount` | integer (int32) | | | `replyTo` (optional) | object | | | `rootId` (optional) | string | | | `title` (optional) | string | | - `401` Signed out. - `403` Not the author. - `404` No such space or message. - `422` Invalid or unknown `url`. - `503` `SPACES_UNAVAILABLE`. ### Remove your reaction ``` DELETE https://api.guild.xyz/spaces/{pageId}/messages/{messageId}/reactions/{key} ``` Removes the caller's reaction (idempotent). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | | `key` | path | Reaction key. string | **Returns** 200: `ReactionSummary[]` for the message. - `401` Signed out. - `403` Banned or not allowed. - `404` No such space or message. - `422` Unknown reaction key. - `429` `RATE_LIMITED`. - `503` `SPACES_UNAVAILABLE`. ### React to a message ``` PUT https://api.guild.xyz/spaces/{pageId}/messages/{messageId}/reactions/{key} ``` Adds the caller's reaction (idempotent). Muted users may react; banned users may not. 30 reactions per 10 s per user. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | | `key` | path | One of `star`, `lightning`, `crown`, `medal`, `bulb`, `eyes`, `party`, `skull`, `hand`, `question`, `torch`, `treasure`, `upvote`. string | **Returns** 200: `ReactionSummary[]` for the message. - `401` Signed out. - `403` Banned or not allowed. - `404` No such space or message. - `422` Unknown reaction key. - `429` `RATE_LIMITED`. - `503` `SPACES_UNAVAILABLE`. ### Report a message ``` POST https://api.guild.xyz/spaces/{pageId}/messages/{messageId}/report ``` One report per message and reporter; a repeat is a no-op. Body `{ reason: SPAM | ABUSE | OFF_TOPIC | OTHER, note? }`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | **Returns** 204: Reported. - `401` Signed out. - `403` Banned. - `404` No such space or message. - `422` Validation failed. - `503` `SPACES_UNAVAILABLE`. ### Get a thread ``` GET https://api.guild.xyz/spaces/{pageId}/messages/{messageId}/thread ``` The root and its replies, oldest first. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Root message id (UUID). string | | `after` (optional) | query | Reply id; return replies newer than it. string | | `limit` (optional) | query | 1-100, default 50. integer (int64) | **Returns** 200: `ThreadPage`: `{ root, replies, hasMore }`. - `401` Signed out and the page is not public. - `403` Banned. - `404` No such space or thread. - `422` Invalid query. - `503` `SPACES_UNAVAILABLE`. ### Who has seen an announcement ``` GET https://api.guild.xyz/spaces/{pageId}/messages/{messageId}/views ``` Every viewer of one announcement, newest first: `{ count, viewers: [{ user, seenAt }], hasMore }`. Only the post's author and the guild's moderators; everyone else gets 403. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | | `before` (optional) | query | User id of the last viewer already loaded. string | | `limit` (optional) | query | 1-100, default 30. integer (int64) | **Returns** 200: `SeenByPage`. - `401` Signed out. - `403` Not the author or a moderator. - `404` No such space or post. - `422` Invalid query. - `503` `SPACES_UNAVAILABLE`. ### Pin, unpin, lock or unlock a message ``` POST https://api.guild.xyz/spaces/{pageId}/messages/{messageId}/{action} ``` Moderators only; logged. At most 10 pinned messages per space. Only thread roots can be locked. Optional body `{ reason? }`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageId` | path | Message id (UUID). string | | `action` | path | `pin`, `unpin`, `lock` or `unlock`. string | **Returns** 200: The updated message. (SpacesMessage) | Field | Type | Description | | --- | --- | --- | | `attachments` | object[] | | | `author` | object | | | `body` | string | Plain text with `<@uuid>` mention tokens; empty when deleted. | | `createdAt` | string | | | `deletedAt` (optional) | string | | | `editedAt` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `lastReplyAt` (optional) | string | | | `lockedAt` (optional) | string | | | `mentions` | object[] | | | `pageId` | string (uuid) | | | `pinnedAt` (optional) | string | | | `previews` | SpacesPreview[] | Link cards in body order. Fetched by the server in the background after posting and delivered by a `message.updated` event. | | `reactions` | object[] | | | `replyCount` | integer (int32) | | | `replyTo` (optional) | object | | | `rootId` (optional) | string | | | `title` (optional) | string | | - `401` Signed out. - `403` Not a moderator. - `404` No such space or message. - `422` Unknown action, pin limit reached, or a reply cannot be locked. - `503` `SPACES_UNAVAILABLE`. ### Who has posted in a space ``` GET https://api.guild.xyz/spaces/{pageId}/participants ``` Recent authors, for mention autocomplete. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `q` (optional) | query | Case-insensitive name filter. string | | `limit` (optional) | query | 1-20, default 10. integer (int64) | **Returns** 200: `SpaceAuthor[]`. - `401` Signed out and the page is not public. - `403` Banned. - `404` No such space. - `422` Invalid query. - `503` `SPACES_UNAVAILABLE`. ### Who is here now ``` GET https://api.guild.xyz/spaces/{pageId}/presence ``` How many people have the space open and visible right now (`count`, signed-out viewers included). Guild admins also get `users`, the signed-in viewers as `SpaceAuthor[]`; everyone else gets `users: null`. Presence is driven by the realtime gateway (`presence` frames, 60 s expiry); a viewer with the page open but no live socket is not counted. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Returns** 200: `{ count, users }`. - `401` Signed out and the page is not public. - `403` Banned. - `404` No such space. - `503` `SPACES_UNAVAILABLE`. ### Mark a space as read ``` POST https://api.guild.xyz/spaces/{pageId}/read ``` Moves the caller's read marker. Body `{ at? }` (ISO time, default now; a future time is clamped to now, and the marker never moves backwards). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Returns** 204: Marked. - `401` Signed out. - `404` No such space. - `422` Invalid `at`. - `503` `SPACES_UNAVAILABLE`. ### Seen-by summaries of announcements ``` GET https://api.guild.xyz/spaces/{pageId}/views ``` For each id in `messageIds` (comma separated, at most 50) that the caller may see viewers for - the post's author and the guild's moderators - the view `count` and the five most recent viewers as `SpaceAuthor[]`, keyed by message id. Posts the caller may not see viewers for are omitted from the object. Members never receive anything here. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | | `messageIds` | query | Comma separated message ids. string | **Returns** 200: `{ [messageId]: { count, viewers } }`. - `401` Signed out. - `403` Banned. - `404` No such space. - `422` Invalid query. - `503` `SPACES_UNAVAILABLE`. ### Record that announcements were seen ``` POST https://api.guild.xyz/spaces/{pageId}/views ``` Body `{ messageIds }` (at most 50). Records the caller as a viewer of each live top-level post of an ANNOUNCEMENTS space, once per user per post (the first sighting is kept; the author's own views are not recorded). Answers 204 without recording anything for other space kinds. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `pageId` | path | Page id (UUID). string | **Returns** 204: Recorded. - `401` Signed out. - `403` Banned. - `404` No such space. - `422` Invalid ids. - `503` `SPACES_UNAVAILABLE`. ## Staff ### Delete a member's account for GDPR (staff) ``` POST https://api.guild.xyz/staff/users/{userId}/delete-account ``` Permanently deletes the member's backend-owned data exactly as `DELETE /compliance/users/{userId}` does (audit and billing records are retained). Superadmin only, with a session; needs a `reason` and the member's id typed again as `confirmUserId`, and is written to the staff log first. A member who owns a guild is refused with 409. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Member id (UUID). string | **Body** (DeleteAccountInput): | Field | Type | Description | | --- | --- | --- | | `confirmUserId` | string (uuid) | The member's user id again, typed by the operator. Must equal the path. | | `reason` | string | Why, 1 to 1000 characters. | **Returns** 200: Deleted: `{ userId, deleted, guildIds, retainedRecords }`. (object) - `401` Signed out. - `403` Not staff, or `CANNOT_DELETE_SELF`. - `404` No such member. - `409` The member still owns a guild. - `422` A reason and the typed id are required. - `503` `AUDIT_UNAVAILABLE`: nothing was changed. ### Delist a quest from quest.xyz (staff) ``` POST https://api.guild.xyz/v1/staff/quests/{questId}/delist ``` Superadmin with a second-factor session. Needs a `reason`; written to the staff log before the change. The quest keeps working in its guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `questId` | path | Quest (role) id. string | **Body** (StaffQuestInput): | Field | Type | Description | | --- | --- | --- | | `reason` | string | Why, 1 to 1000 characters (written to the staff log). | **Returns** 200: The quest, with `delisted`. (Quest) | Field | Type | Description | | --- | --- | --- | | `anyOfNum` (optional) | integer (int64) | | | `delistedAt` (optional) | string | ISO-8601 when staff took the quest off quest.xyz; `null` = not delisted. | | `description` (optional) | string | | | `endsAt` (optional) | string | ISO-8601; `null` = no end. The window is `[startsAt, endsAt)`. | | `guild` | QuestGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | The role id. | | `imageUrl` (optional) | string | | | `listed` | boolean | | | `logic` | string | `AND`, `OR` or `ANY_OF`. | | `participants` | integer (int64) | Members holding the quest's points. | | `points` | QuestPoints | | | `position` | integer (int64) | | | `startsAt` (optional) | string | ISO-8601; `null` = immediately. | | `status` | string | `scheduled`, `live`, `ended` or `archived`. | | `tasks` | QuestTask[] | | | `title` | string | | | `viewer` (optional) | object or QuestViewer | | - `401` Signed out. - `403` Not staff. - `404` No such quest. - `409` QUEST_ARCHIVED, ALREADY_DELISTED or NOT_DELISTED. - `422` A reason is required. - `503` QUESTS_UNAVAILABLE or AUDIT_UNAVAILABLE. ### Relist a delisted quest (staff) ``` POST https://api.guild.xyz/v1/staff/quests/{questId}/relist ``` Superadmin with a second-factor session. Needs a `reason`; written to the staff log before the change. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `questId` | path | Quest (role) id. string | **Body** (StaffQuestInput): | Field | Type | Description | | --- | --- | --- | | `reason` | string | Why, 1 to 1000 characters (written to the staff log). | **Returns** 200: The quest, with `delisted`. (Quest) | Field | Type | Description | | --- | --- | --- | | `anyOfNum` (optional) | integer (int64) | | | `delistedAt` (optional) | string | ISO-8601 when staff took the quest off quest.xyz; `null` = not delisted. | | `description` (optional) | string | | | `endsAt` (optional) | string | ISO-8601; `null` = no end. The window is `[startsAt, endsAt)`. | | `guild` | QuestGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | The role id. | | `imageUrl` (optional) | string | | | `listed` | boolean | | | `logic` | string | `AND`, `OR` or `ANY_OF`. | | `participants` | integer (int64) | Members holding the quest's points. | | `points` | QuestPoints | | | `position` | integer (int64) | | | `startsAt` (optional) | string | ISO-8601; `null` = immediately. | | `status` | string | `scheduled`, `live`, `ended` or `archived`. | | `tasks` | QuestTask[] | | | `title` | string | | | `viewer` (optional) | object or QuestViewer | | - `401` Signed out. - `403` Not staff. - `404` No such quest. - `409` QUEST_ARCHIVED, ALREADY_DELISTED or NOT_DELISTED. - `422` A reason is required. - `503` QUESTS_UNAVAILABLE or AUDIT_UNAVAILABLE. ## Telemetry ### Record a page view ``` POST https://api.guild.xyz/telemetry/page-view ``` Records a page view event to ClickHouse. Fire-and-forget: API replicas enqueue the event and a worker performs the actual ClickHouse write, so a 200 response confirms acceptance, not a durable write. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Body** (TelemetryPageViewRequest): | Field | Type | Description | | --- | --- | --- | | `country` (optional) | string | Visitor country code, up to 2 characters. Defaults to `""` when omitted. | | `deviceType` (optional) | string | One of `desktop` or `mobile`. Defaults to `desktop` when omitted. | | `guildId` | string (uuid) | Guild the page view belongs to. | | `isMember` (optional) | boolean | Whether the visitor is a member of `guildId`. Defaults to `false` when omitted. | | `path` | string | Page path that was viewed, 1-2048 characters. | | `referrer` (optional) | string | Referrer URL, up to 2048 characters. Defaults to `""` when omitted. | | `visitorId` (optional) | string (uuid) | Id identifying the visitor (e.g. a client-generated anonymous id). Omit if the client doesn't have one yet. | **Returns** 200: Page view accepted. (TelemetryPageViewResponse) | Field | Type | Description | | --- | --- | --- | | `ok` | boolean | Always `true` — a 200 response only means the event was accepted and enqueued, not that it was already durably written to ClickHouse. | - `400` Malformed JSON request body. - `422` Request body failed validation: missing/invalid guildId (must be a UUID), an invalid visitorId (must be a UUID if given), path missing or not 1-2048 characters, referrer or country exceeding their max length, or deviceType not one of `desktop`/`mobile`. - `429` Rate limit hit — only reachable when the caller has an active Guild session, since this route has no per-route auth. See the Retry-After header. ## Upload ### Upload a file ``` POST https://api.guild.xyz/upload ``` Uploads an image as `multipart/form-data` under a form field named `file` and returns its public URL. The stored object key is derived from the caller's user id, a slugified version of the original filename, and an upload timestamp; the file's declared Content-Type must be one of the supported image MIME types (avif, gif, jpeg, jpg, png, webp) and its size must not exceed 10MB (or, with `?guildId=&purpose=space-attachment` from a member, the guild boost-level cap of 10/20/35/50MB). Before responding, the handler briefly polls the object's public URL to confirm it is live; if it is still not visible after a few retries the URL is still returned, but a warning is logged server-side. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The file was uploaded; url is its public address. (UploadFileResponse) | Field | Type | Description | | --- | --- | --- | | `url` | string | Public URL of the uploaded file. | - `400` The body was not sent as multipart/form-data (or was malformed), no "file" form field with a filename was present, the file's Content-Type is not one of the supported image types, or the file exceeds the 10MB size limit. - `401` Not logged in. - `429` Rate limit hit. See the Retry-After header. - `500` The upload to object storage failed. ### Create a Pinata upload URL ``` POST https://api.guild.xyz/upload/pinata-signed-url ``` Returns a single-use public-network Pinata upload URL valid for 30 seconds, optionally limited to a maximum file size and a set of MIME types. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (PinataSignedUrlRequest): | Field | Type | Description | | --- | --- | --- | | `maxFileSize` (optional) | integer (int64) | Largest file, in bytes, the signed URL accepts. | | `mimeTypes` (optional) | string[] | MIME types the signed URL accepts. | **Returns** 200: A signed upload URL. (PinataSignedUrlResponse) | Field | Type | Description | | --- | --- | --- | | `url` | string | A single-use Pinata upload URL, valid for 30 seconds. | - `401` Not logged in. - `429` Rate limit hit. See the Retry-After header. - `502` Pinata did not return a signed URL. ## User Notifications ### List the caller's notifications ``` GET https://api.guild.xyz/user-notifications ``` List the logged-in user's notifications, most recent first. Only unseen notifications are returned unless `includeSeen=true` is passed. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `includeSeen` (optional) | query | Include already-seen notifications too. Defaults to false (unseen only). boolean | | `limit` (optional) | query | Max notifications to return. Defaults to 20, min 1, max 50. integer (int64) | **Returns** 200: The user's notifications. (UserNotificationsListResponse) | Field | Type | Description | | --- | --- | --- | | `notifications` | UserNotificationsNotification[] | | - `401` Not logged in. - `422` "includeSeen" is not "true" or "false", or "limit" does not coerce to an integer between 1 and 50. - `429` Rate limit hit. See the Retry-After header. ### Mark notifications as seen ``` POST https://api.guild.xyz/user-notifications/seen ``` Mark the logged-in user's unseen notifications as seen and return the rows that were updated. Omit `ids` to mark every unseen notification for the caller; passing `ids` marks only those among them (ids that are already seen, or don't belong to the caller, are silently left untouched, not errored on); an empty `ids` array is a no-op that returns an empty list. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (UserNotificationsMarkSeenRequest): | Field | Type | Description | | --- | --- | --- | | `ids` (optional) | string[] | Notification ids (UUIDs) to mark as seen. Omit to mark every unseen notification belonging to the caller; an empty array is a no-op that returns an empty list. | **Returns** 200: The notifications that were marked as seen. (UserNotificationsListResponse) | Field | Type | Description | | --- | --- | --- | | `notifications` | UserNotificationsNotification[] | | - `400` Malformed JSON in the request body. - `401` Not logged in. - `422` Request body failed validation, e.g. the body isn't an object, "ids" isn't an array, or an "ids" element isn't a UUID string. - `429` Rate limit hit. See the Retry-After header. ## User ### Get the caller's legacy Guild Pin NFTs ``` GET https://api.guild.xyz/user/legacy-pins ``` Reads the caller's linked EVM addresses and, for every chain with a legacy Guild Pin contract, looks up and decodes the on-chain metadata of every pin they own (multicall, with a 3s timeout per chain — a chain that times out or errors just contributes no pins for that chain instead of failing the whole request). Returns an empty array if the caller has no linked EVM identity. The result is cached for 30 days, keyed only by user id: linking or unlinking an EVM address does not invalidate the cache, so a newly-linked wallet's pins may not appear until the cache expires. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The caller's legacy pins, across every supported chain. (UsersLegacyPinMetadata[]) - `401` Not logged in. - `404` The authenticated user's account no longer exists. - `429` Rate limit hit. See the Retry-After header. ### Map legacy numeric user ids to UUIDs ``` POST https://api.guild.xyz/users/legacy-id-lookup ``` Superadmin-only bulk lookup: given legacy (pre-v3) numeric user ids, returns the current UUID for each one that still has a matching user. Ids with no matching user are silently omitted from the response rather than causing an error. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (UsersLegacyIdLookupRequest): | Field | Type | Description | | --- | --- | --- | | `legacyIds` | integer (int32)[] | Positive integers. A value that does not fit in a signed 32-bit integer passes shape validation but then fails the request. | **Returns** 200: The users that matched a given legacy id. (UsersLegacyIdLookupResponse) | Field | Type | Description | | --- | --- | --- | | `users` | UsersLegacyIdLookupUser[] | | - `400` Malformed JSON in the request body. - `401` Not logged in. - `403` Logged in, but not a superadmin. - `422` The body is not an object, "legacyIds" is missing or not an array, or one of its entries is not a positive integer. - `429` Rate limit hit. See the Retry-After header. ### Resolve a user id by identity ``` GET https://api.guild.xyz/users/{identity} ``` Looks up the internal Guild user id for an identity: an EVM address (case-insensitive, normalized to lowercase before lookup) or an email address. For an email with no matching EMAIL identity, this also checks for a GOOGLE identity with the same email before giving up, since a user may have originally signed up with Google using that address. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `identity` | path | An EVM address ("0x" + 40 hex chars, case-insensitive) or an email address. string | **Returns** 200: The resolved user id. (UsersResolveResponse) | Field | Type | Description | | --- | --- | --- | | `userId` | string (uuid) | | - `403` Not logged in. - `404` No user has this identity linked. - `422` "identity" is neither a valid EVM address nor a valid email address. - `429` Rate limit hit resolving by email address. EVM address lookups are exempt from this limit. See the Retry-After header. ## User Rewards ### Update a user's reward record ``` PUT https://api.guild.xyz/users/{userId}/rewards/{rewardId} ``` Internal endpoint that patches the claim status/result of a user's existing reward record, e.g. once an asynchronous grant finishes. Only the fields present in the request body are applied — they are merged onto the current record, and the merged record is re-validated before saving. This only updates an existing record; it never creates one. Gated by the Guild-internal privileged key sent in the `x-guild-auth-token` header (or the `__Secure_guild_token` cookie) — not by a per-guild partner API key, and not by an `Authorization: Bearer` header. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | | `rewardId` | path | The reward id — together with userId this identifies the user's reward record to update. string (uuid) | **Body** (UserRewardUpdateRequest): | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object | Claim-specific result payload. Replaces the record's existing `data` wholesale (the merge is per top-level field, not a deep merge), so its shape must match the reward type's claim data — omit to leave the current value unchanged. | | `errorCode` (optional) | string | Meaningful when `status` is `FAILED`. | | `errorMessage` (optional) | string | Meaningful when `status` is `FAILED`. | | `status` (optional) | object or UserRewardUpdateStatus | | **Returns** 200: The reward record was updated. (UserRewardUpdateResponse) - `400` Malformed JSON in the request body. - `401` Missing or invalid privileged key in the x-guild-auth-token header (or __Secure_guild_token cookie). - `404` No existing reward record for this user/reward pair — this endpoint does not create one. - `422` userId or rewardId isn't a UUID, or the request body failed schema validation (e.g. an invalid status value). - `429` Rate limit hit. See the Retry-After header. Applies when the caller also sends the x-guild-user-id header, which puts the request in that user's global bucket. - `500` The record produced by merging the patch onto the current one failed re-validation against the full user-reward schema. ## Agents ### List the caller's agent connections ``` GET https://api.guild.xyz/v1/agents/grants ``` The caller's OAuth connections and personal access tokens with their last use: live ones first, plus those revoked in the past 30 days, at most 200. Browser session only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Returns** 200: The grants. (AgentsGrantList) | Field | Type | Description | | --- | --- | --- | | `grants` | AgentsGrant[] | | - `401` Signed out (`UNAUTHORIZED`). - `403` Called with an agent token (`AGENT_ACTION_BLOCKED`). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### Revoke an agent connection ``` DELETE https://api.guild.xyz/v1/agents/grants/{grantId} ``` Revokes the grant and every token issued for it. The caller's own grant, or any grant on a guild the caller owns (an admin's agent: logged with reason `revoked by the guild owner`). Takes effect on every replica within the 15-second grant cache. Revoking an already revoked grant also answers `success`. Logged as `agent.grant.revoke`. Browser session only, from the Guild frontend. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `grantId` | path | Grant id (UUID). string | **Returns** 200: Revoked. (AgentsSuccess) | Field | Type | Description | | --- | --- | --- | | `success` | boolean | | - `401` Signed out (`UNAUTHORIZED`). - `403` `AGENT_ORIGIN_REFUSED` (an `Origin` other than the Guild frontend), or called with an agent token (`AGENT_ACTION_BLOCKED`). - `404` No such grant, or not the caller's (`AGENT_GRANT_NOT_FOUND`). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### Update an agent connection ``` PATCH https://api.guild.xyz/v1/agents/grants/{grantId} ``` Renames a live grant or narrows its scopes. It never widens them and never changes the guild: connect the agent again for that. Logged as `agent.grant.update`. Browser session only, from the Guild frontend. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `grantId` | path | Grant id (UUID). string | **Body** (object or AgentsGrantUpdateRequest): **Returns** 200: The updated grant. (AgentsGrantResponse) | Field | Type | Description | | --- | --- | --- | | `grant` | AgentsGrant | An agent connection (OAuth) or personal access token. | - `400` `INVALID_BODY`, `INVALID_NAME`, `INVALID_SCOPES`, `AGENT_SCOPE_WIDENING` (a scope the grant never had) or `AGENT_GUILD_FIXED` (a `guildId` or `guildIds` in the body). - `401` Signed out (`UNAUTHORIZED`). - `403` `AGENT_ORIGIN_REFUSED` (an `Origin` other than the Guild frontend), or called with an agent token (`AGENT_ACTION_BLOCKED`). - `404` No such live grant of the caller's (`AGENT_GRANT_NOT_FOUND`). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### List the agents that can act on a guild ``` GET https://api.guild.xyz/v1/agents/guilds/{guildIdLike}/grants ``` Every live connection to this guild, made by any of its owner or admins (at most 500, newest first). Guild owner or admin only, browser session only. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id (UUID) or url name. string | **Returns** 200: The grants. (AgentsGrantList) | Field | Type | Description | | --- | --- | --- | | `grants` | AgentsGrant[] | | - `401` Signed out (`UNAUTHORIZED`). - `403` Not the guild's owner or an admin (`FORBIDDEN`), or called with an agent token (`AGENT_ACTION_BLOCKED`). - `404` No such guild (`ENTITY_NOT_FOUND`). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### List the caller's administered guilds ``` GET https://api.guild.xyz/v1/agents/me/guilds ``` The guilds the caller owns or administers (at most 500, owned first, then by name). Called by an agent (needs `guild:read`), only those its grant covers. **Auth:** your signed-in Guild session (`x-guild-auth-token`), or guildAgentToken. **Returns** 200: The guilds. (AgentsGuildList) | Field | Type | Description | | --- | --- | --- | | `guilds` | AgentsGuild[] | | - `401` Signed out (`UNAUTHORIZED`), or an invalid or expired agent token (`AGENT_TOKEN_INVALID`). - `403` An agent without `guild:read` (`AGENT_SCOPE_MISSING`). ### Start an OAuth authorization ``` GET https://api.guild.xyz/v1/agents/oauth/authorize ``` The OAuth 2.1 authorization endpoint. Checks the client and `redirect_uri` first: until both are trusted, errors are answered here as `400` and never redirected. After that, errors redirect to the client (`unsupported_response_type`, `invalid_request` for missing PKCE, `invalid_target`, `invalid_scope`). On success the request is parked for 10 minutes and the browser is sent to the consent page `{FRONTEND_URL}/agents/authorize?request=`. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `response_type` | query | `code`. string | | `client_id` | query | A registered client's UUID, or the `https://` URL of a client ID metadata document (fetched with a 5 s timeout, a 64 KiB cap and no redirects, cached for an hour). string | | `redirect_uri` (optional) | query | Must be registered for the client; loopback `http` URIs match on any port. Optional only when the client registered exactly one. string | | `code_challenge` | query | PKCE S256 challenge, 43 characters. string | | `code_challenge_method` | query | `S256`. string | | `scope` (optional) | query | Space-separated: `guild:read`, `guild:write`, `members:read`. Defaults to `guild:read guild:write`. An unknown scope is an `invalid_scope` error. string | | `state` (optional) | query | Returned unchanged on the redirect. string | | `resource` (optional) | query | RFC 8707 resource; must be the Guild MCP server (`AGENT_MCP_RESOURCE`), which is also the default. string | - `302` To the consent page, or to the client's `redirect_uri` with `error`, `error_description`, `state` and `iss`. - `400` `invalid_request`: `client_id` missing or unknown, or `redirect_uri` missing or not registered for the client. - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### OAuth authorization server metadata ``` GET https://api.guild.xyz/v1/agents/oauth/metadata ``` RFC 8414 metadata for the agents' OAuth authorization server. guild-mcp serves it at `{issuer}/.well-known/oauth-authorization-server`; the endpoint URLs point at this API (`AGENT_API_PUBLIC_URL`). Answers even before migration 0060 is applied. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: The metadata. (AgentsAuthorizationServerMetadata) | Field | Type | Description | | --- | --- | --- | | `authorization_endpoint` | string | | | `authorization_response_iss_parameter_supported` | boolean | | | `client_id_metadata_document_supported` | boolean | | | `code_challenge_methods_supported` | string[] | `["S256"]`. | | `grant_types_supported` | string[] | `authorization_code`, `refresh_token` and `urn:ietf:params:oauth:grant-type:token-exchange`. | | `issuer` | string | `AGENT_OAUTH_ISSUER`, default `https://mcp.guild.xyz`. | | `registration_endpoint` | string | | | `response_modes_supported` | string[] | `["query"]`. | | `response_types_supported` | string[] | `["code"]`. | | `revocation_endpoint` | string | | | `revocation_endpoint_auth_methods_supported` | string[] | `["none"]`. | | `scopes_supported` | string[] | `guild:read`, `guild:write`, `members:read`. | | `service_documentation` | string | | | `token_endpoint` | string | | | `token_endpoint_auth_methods_supported` | string[] | `["none", "client_secret_post"]`; only guild-mcp uses the latter. | ### Register an OAuth client ``` POST https://api.guild.xyz/v1/agents/oauth/register ``` RFC 7591 dynamic client registration, public clients only (`token_endpoint_auth_method: none`, grant types `authorization_code` and `refresh_token`). Limited to 20 registrations per source address per hour. Unauthenticated. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Body** (AgentsClientRegistrationRequest): | Field | Type | Description | | --- | --- | --- | | `client_name` (optional) | string | At most 100 characters; defaults to the first redirect URI's host. | | `client_uri` (optional) | string | Kept only when `https://`. | | `grant_types` (optional) | string[] | Only `authorization_code` and `refresh_token` are accepted. | | `logo_uri` (optional) | string | Kept only when `https://`. | | `policy_uri` (optional) | string | | | `redirect_uris` | string[] | 1-10 URIs: `https`, `http` on `localhost`/`127.0.0.1`/`[::1]`, or a private-use scheme of at least three characters. No fragment, no credentials, at most 2000 characters each. | | `scope` (optional) | string | | | `software_id` (optional) | string | | | `software_version` (optional) | string | | | `token_endpoint_auth_method` (optional) | string | Only `none` (or omitted) is accepted. | | `tos_uri` (optional) | string | | **Returns** 201: The registered client. (AgentsClientRegistrationResponse) | Field | Type | Description | | --- | --- | --- | | `client_id` | string (uuid) | | | `client_id_issued_at` | integer (int64) | Unix seconds. | | `client_name` | string | | | `client_uri` (optional) | string | | | `grant_types` | string[] | `["authorization_code", "refresh_token"]`. | | `logo_uri` (optional) | string | | | `redirect_uris` | string[] | | | `response_types` | string[] | `["code"]`. | | `token_endpoint_auth_method` | string | `none`. | - `400` `invalid_redirect_uri` (a redirect URI is not allowed) or `invalid_client_metadata` (body not JSON, no or too many `redirect_uris`, a confidential auth method, or another grant type). - `429` `invalid_request`: more than 20 registrations from this address, or 1,000 in all, in the past hour. - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`), or Redis is unreachable (`temporarily_unavailable`). ### Get an authorization request for consent ``` GET https://api.guild.xyz/v1/agents/oauth/requests/{requestId} ``` What the consent page shows: the client, the scopes it asked for, the resource, every scope the user may grant instead, the guilds the user owns or administers (the connection manages exactly one of them) and the actions every agent is refused. Browser session only; agent tokens are refused. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requestId` | path | The `request` from the consent page URL. string | **Returns** 200: The request. (AgentsConsentRequest) | Field | Type | Description | | --- | --- | --- | | `available_scopes` | AgentsScope[] | Every scope, flagged with whether the agent asked for it. The user may grant any of them. | | `blocked` | string[] | Why the actions every agent is refused are refused, deduplicated. | | `client` | AgentsConsentClient | The client asking for access, as the consent screen shows it. | | `guilds` | AgentsGuild[] | Every guild the user owns or administers (at most 500), owned first. The connection manages exactly one of them. | | `resource` | string | The RFC 8707 resource the tokens will be for. | | `scopes` | AgentsScope[] | The scopes the agent asked for. | - `401` Signed out (`UNAUTHORIZED`). - `403` Called with an agent token. - `404` Unknown, expired or already decided (`AGENT_REQUEST_EXPIRED`). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### Approve an authorization request ``` POST https://api.guild.xyz/v1/agents/oauth/requests/{requestId}/approve ``` Creates the grant and a single-use, five-minute authorization code bound to the client, redirect URI, PKCE challenge and resource, and answers where to send the browser. The body is validated before the request is consumed, so a mistake can be corrected and resubmitted. Needs a recent sign-in or a second-factor proof (`AGENT_STEP_UP_REQUIRED`). Logged as `agent.grant.create`. Browser session only, from the Guild frontend. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requestId` | path | The `request` from the consent page URL. string | **Body** (object or AgentsApproveRequest): **Returns** 200: `redirectTo` carries `code`, `state` and `iss`. (AgentsRedirectResponse) | Field | Type | Description | | --- | --- | --- | | `redirectTo` | string | The client's `redirect_uri` with `code` (approve) or `error=access_denied` and `error_description` (deny), plus `state` when the client sent one and `iss`. | - `400` `INVALID_BODY`, `INVALID_NAME`, `INVALID_SCOPES` (not an array, empty, or an unknown scope) or `AGENT_ONE_GUILD` (no `guildId`). - `401` Signed out (`UNAUTHORIZED`). - `403` `AGENT_ORIGIN_REFUSED` (an `Origin` other than the Guild frontend), `AGENT_NOT_GUILD_ADMIN` (a guild the user neither owns nor administers), or called with an agent token. - `404` Unknown, expired or already decided (`AGENT_REQUEST_EXPIRED`). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### Deny an authorization request ``` POST https://api.guild.xyz/v1/agents/oauth/requests/{requestId}/deny ``` Consumes the request and answers where to send the browser: the client's redirect URI with `error=access_denied`. Takes no body. Browser session only, from the Guild frontend. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `requestId` | path | The `request` from the consent page URL. string | **Returns** 200: `redirectTo` carries `error=access_denied`, `error_description`, `state` and `iss`. (AgentsRedirectResponse) | Field | Type | Description | | --- | --- | --- | | `redirectTo` | string | The client's `redirect_uri` with `code` (approve) or `error=access_denied` and `error_description` (deny), plus `state` when the client sent one and `iss`. | - `401` Signed out (`UNAUTHORIZED`). - `403` `AGENT_ORIGIN_REFUSED`, or called with an agent token. - `404` Unknown, expired or already decided (`AGENT_REQUEST_EXPIRED`). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### Revoke an OAuth token ``` POST https://api.guild.xyz/v1/agents/oauth/revoke ``` RFC 7009. Revoking a refresh token disconnects the agent (the whole grant, logged as `agent.grant.revoke`); revoking an access token ends only that token. Only tokens issued to the given `client_id` are affected. Always answers `200 {}`, so it reveals nothing about the token. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Body** (AgentsRevokeRequest): | Field | Type | Description | | --- | --- | --- | | `client_id` (optional) | string | The client the token was issued to; anything else is ignored. | | `token` | string | A `grt_` token (revokes the whole grant) or a `gat_` token (revokes only that token). | | `token_type_hint` (optional) | string | Accepted and ignored. | **Returns** 200: `{}`, whether or not anything was revoked. - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### OAuth token endpoint ``` POST https://api.guild.xyz/v1/agents/oauth/token ``` Three grants. `authorization_code` (PKCE S256) and `refresh_token` answer a `gat_` access token (1 hour) and a `grt_` refresh token (30 days, rotated on use; presenting a rotated one revokes the whole grant). The RFC 8693 token exchange is for guild-mcp only (`client_id=guild-mcp` plus `client_secret`): it trades an agent's `gat_` or `gpat_` for a `gxt_` token of at most five minutes that this API accepts in `x-guild-agent-token`, and is off while `AGENT_MCP_CLIENT_SECRET` is unset. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Body** (AgentsTokenRequest): | Field | Type | Description | | --- | --- | --- | | `audience` (optional) | string | Token exchange: `guild-api` if sent. | | `client_id` (optional) | string | `authorization_code`, `refresh_token`: the client's id. Token exchange: `guild-mcp`. | | `client_secret` (optional) | string | Token exchange: `AGENT_MCP_CLIENT_SECRET`. | | `code` (optional) | string | `authorization_code`: the single-use code from the redirect. | | `code_verifier` (optional) | string | `authorization_code`: the PKCE verifier for the S256 challenge. | | `grant_type` | string | `authorization_code`, `refresh_token` or `urn:ietf:params:oauth:grant-type:token-exchange`. | | `redirect_uri` (optional) | string | `authorization_code`: optional; when sent, exactly the redirect URI the code was issued to. | | `refresh_token` (optional) | string | `refresh_token`: a `grt_` token. Each is single-use; presenting a rotated one revokes the whole grant. | | `resource` (optional) | string | `authorization_code`: optional; must match the authorization request's resource. | | `subject_token` (optional) | string | Token exchange: the agent's `gat_` or `gpat_` token. | | `subject_token_type` (optional) | string | Token exchange: `urn:ietf:params:oauth:token-type:access_token` if sent. | **Returns** 200: A token pair, or for token exchange a `gxt_` token with the grant it acts for. (AgentsTokenResponse) - `400` `invalid_request` (no `grant_type`, or a `subject_token_type` other than an access token), `unsupported_grant_type` (unknown grant, or token exchange disabled), `invalid_grant` (code invalid, expired, used, issued to another client or redirect URI, or failing PKCE; refresh or subject token invalid, expired, revoked or reused; grant revoked) or `invalid_target` (`resource` or `audience` mismatch). - `401` `invalid_client`: token exchange with the wrong client id or secret. - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ### List agent scopes and routes ``` GET https://api.guild.xyz/v1/agents/scopes ``` The scope catalogue, every route an agent may call (with the scope it needs and where its guild comes from) and every route an agent is refused, for the connect wizard and the MCP server's `guild://api/routes` resource. Public; an agent needs `guild:read`. Answers even before migration 0060 is applied. **Auth:** your signed-in Guild session (`x-guild-auth-token`), or guildAgentToken. **Returns** 200: The catalogue. (AgentsScopeCatalogue) | Field | Type | Description | | --- | --- | --- | | `blocked` | AgentsBlockedRoute[] | | | `routes` | AgentsRouteRule[] | | | `scopes` | AgentsScope[] | | - `401` An invalid or expired agent token (`AGENT_TOKEN_INVALID`). - `403` An agent without `guild:read` (`AGENT_SCOPE_MISSING`). ### Create a personal access token ``` POST https://api.guild.xyz/v1/agents/tokens ``` A `gpat_` token for an agent that cannot open a browser (CI, a server), for one guild the caller owns or administers, valid 1-365 days (default 90; at most 90 with a member scope). Needs a recent sign-in or a second-factor proof (`AGENT_STEP_UP_REQUIRED`). The token is returned once; only its hash is kept. Logged as `agent.token.create`. Browser session only, from the Guild frontend. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (AgentsCreateTokenRequest): | Field | Type | Description | | --- | --- | --- | | `expiresInDays` (optional) | integer (int64) | 1-365, default 90. | | `guildId` | string (uuid) | The one guild the token manages; the user must own or administer it. | | `name` | string | Required, non-empty; trimmed to 100 characters. | | `scopes` | string[] | Required, non-empty. | **Returns** 201: The token and its grant. (AgentsCreateTokenResponse) | Field | Type | Description | | --- | --- | --- | | `grant` | AgentsGrant | An agent connection (OAuth) or personal access token. | | `token` | string | The `gpat_` token. Shown once; only its hash is kept. | - `400` `INVALID_BODY`, `INVALID_NAME`, `INVALID_SCOPES`, `AGENT_ONE_GUILD` (no `guildId`) or `INVALID_EXPIRY` (1-365 days, 1-90 with a member scope). - `401` Signed out (`UNAUTHORIZED`). - `403` `AGENT_ORIGIN_REFUSED` (an `Origin` other than the Guild frontend), `AGENT_NOT_GUILD_ADMIN` (a guild the caller neither owns nor administers), or called with an agent token (`AGENT_ACTION_BLOCKED`), or `AGENT_STEP_UP_REQUIRED` (sign in again or prove a second factor first). - `503` Migration 0060's tables are not applied yet (`AGENTS_UNAVAILABLE`). ## Endpoints ### Get endpoints ``` GET https://api.guild.xyz/v1/endpoints ``` List the API's rate-limited v1 endpoints: each entry's path (hono-style colon path params, e.g. `/v1/users/:userId`), HTTP method, and summary, sourced from the `RATE_LIMITED_ROUTES` configuration table. This endpoint itself is not included in the returned list. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. **Returns** 200: The list of rate-limited v1 endpoints. (V1EndpointsRouteInfo[]) ## Forms2 ### List forms ``` GET https://api.guild.xyz/v1/forms ``` List forms, optionally filtered by guild. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildId` (optional) | query | Filter to forms belonging to this guild id. string (uuid) | | `limit` (optional) | query | Declared in the schema but not implemented: providing this parameter at all always fails with a 422, since query values are strings and can never satisfy the underlying number check. Omit it. string | | `offset` (optional) | query | Same caveat as limit — providing this parameter at all always fails validation. Omit it. string | **Returns** 200: The matching forms. (Forms2FormResponse[]) - `422` Request validation failed — most commonly caused by passing limit or offset (see their parameter descriptions). ### Create a form ``` POST https://api.guild.xyz/v1/forms ``` Create a form, optionally with its pages and fields in the same transaction. The caller must be an admin, owner, or super admin of guildId. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (Forms2CreateFormRequest): | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` (optional) | boolean | Defaults to false if omitted. | | `coverImage` (optional) | string | | | `description` (optional) | string | | | `editable` (optional) | boolean | Defaults to true if omitted. | | `endTime` (optional) | string | ISO 8601 timestamp with timezone, or null. | | `guildId` | string (uuid) | | | `id` (optional) | string | Custom form id. If omitted (or empty), the server generates one (the first hyphen-delimited segment of a random UUID, e.g. "a1b2c3d4"). | | `image` (optional) | string | | | `pages` (optional) | Forms2CreateFormPageNestedRequest[] | Created together with the form in one transaction, each attached to it (any `formId` on a page entry is ignored). | | `rewardId` (optional) | string (uuid) | Id of a FORM2 reward to link. Not validated against the reward's own type or guild at creation time — a mismatch is only caught later (as a 400 "Form reward is misconfigured") when the form is submitted to, reviewed, or an answer on it is edited. | | `startTime` (optional) | string | ISO 8601 timestamp with timezone, normalized to UTC. Null clears it. | | `state` (optional) | object or Forms2FormState | | | `submissionLimit` (optional) | integer (int32) | Defaults to 1 if omitted; 0 means unlimited. Negative values are rejected. | | `title` | string | | | `urlName` (optional) | string | Public URL slug: letters, digits and hyphens only. Pass null to leave it unset. | **Returns** 201: The created form. (Forms2FormWithFieldsResponse) | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` | boolean | | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | | | `description` (optional) | string | | | `editable` | boolean | | | `endTime` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string | | | `image` (optional) | string | | | `pages` | Forms2PageWithFieldsResponse[] | | | `rewardId` (optional) | string (uuid) | | | `startTime` (optional) | string | | | `state` | Forms2FormState | `form.state` — a form only accepts submissions while `ACTIVE`. | | `submissionLimit` | integer (int32) | | | `title` | string | | | `updatedAt` (optional) | string | | | `urlName` (optional) | string | | - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of guildId. - `404` guildId does not refer to an existing guild. - `422` Request body failed validation (see issues). ### List a Guild's forms with response status totals ``` GET https://api.guild.xyz/v1/forms/overview ``` **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | query | string (uuid) | | `limit` (optional) | query | integer (int64) | | `offset` (optional) | query | integer (int64) | **Returns** 200: Up to 100 forms with aggregate response counts (Forms2OverviewResponse[]) - `401` Authentication required - `403` Guild administrator required - `422` Invalid query ### Delete a form ``` DELETE https://api.guild.xyz/v1/forms/{formId} ``` Delete a form, cascade-deleting its pages, fields, submissions and answers. The caller must be an admin, owner, or super admin of the form's guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | **Returns** 200: The deleted form, as it was before deletion. (Forms2FormWithFieldsResponse) | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` | boolean | | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | | | `description` (optional) | string | | | `editable` | boolean | | | `endTime` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string | | | `image` (optional) | string | | | `pages` | Forms2PageWithFieldsResponse[] | | | `rewardId` (optional) | string (uuid) | | | `startTime` (optional) | string | | | `state` | Forms2FormState | `form.state` — a form only accepts submissions while `ACTIVE`. | | `submissionLimit` | integer (int32) | | | `title` | string | | | `updatedAt` (optional) | string | | | `urlName` (optional) | string | | - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with this id. ### Get a form ``` GET https://api.guild.xyz/v1/forms/{formId} ``` Get a form by id, optionally including its pages and fields. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id (a slug or generated id, not necessarily a UUID). string | | `pages` (optional) | query | Include pages (each with its fields) in the response. Coerced like JS Boolean(value): any non-empty value is treated as true, even the string false; omit the parameter entirely for false. boolean | **Returns** 200: The form. (Forms2FormWithFieldsResponse) | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` | boolean | | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | | | `description` (optional) | string | | | `editable` | boolean | | | `endTime` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string | | | `image` (optional) | string | | | `pages` | Forms2PageWithFieldsResponse[] | | | `rewardId` (optional) | string (uuid) | | | `startTime` (optional) | string | | | `state` | Forms2FormState | `form.state` — a form only accepts submissions while `ACTIVE`. | | `submissionLimit` | integer (int32) | | | `title` | string | | | `updatedAt` (optional) | string | | | `urlName` (optional) | string | | - `404` No form exists with this id. ### Update a form ``` PUT https://api.guild.xyz/v1/forms/{formId} ``` Update a form. Every body field is optional; omitted fields are left unchanged. The caller must be an admin, owner, or super admin of the form's guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | **Body** (Forms2UpdateFormRequest): | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` (optional) | boolean | | | `coverImage` (optional) | string | | | `description` (optional) | string | | | `editable` (optional) | boolean | | | `endTime` (optional) | string | | | `image` (optional) | string | | | `rewardId` (optional) | string (uuid) | | | `startTime` (optional) | string | Always fails validation if a non-null value is sent — omit this field or send null. Same restriction as on create. | | `state` (optional) | object or Forms2FormState | | | `submissionLimit` (optional) | integer (int32) | | | `title` (optional) | string | | | `urlName` (optional) | string | | **Returns** 200: The updated form. (Forms2FormResponse) | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` | boolean | Whether a confirmation email is sent to the submitter's email identity on submission. | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `editable` | boolean | | | `endTime` (optional) | string | ISO 8601. Submissions are rejected after this time. | | `guildId` | string (uuid) | | | `id` | string | Form id — a caller-chosen or server-generated slug, not necessarily a UUID. | | `image` (optional) | string | | | `rewardId` (optional) | string (uuid) | Id of the linked FORM2 reward granted on approved submissions, if any. | | `startTime` (optional) | string | ISO 8601. Submissions are rejected before this time. | | `state` | Forms2FormState | `form.state` — a form only accepts submissions while `ACTIVE`. | | `submissionLimit` | integer (int32) | Maximum active (non-rejected) submissions allowed per user; the limit is only enforced when this is greater than 0. | | `title` | string | | | `updatedAt` (optional) | string | ISO 8601. | | `urlName` (optional) | string | | - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with this id. - `409` urlName is already used by another form. - `422` Request body failed validation (see issues). ### Download form submissions as CSV ``` GET https://api.guild.xyz/v1/forms/{formId}/csv ``` Download the same complete, ordered form-response matrix used by the Google Sheets export. The caller must be an admin, owner, or super admin of the form's guild. This path has no Google dependency. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | **Returns** 200: UTF-8 CSV containing every submission. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with this id. ### Create a form page ``` POST https://api.guild.xyz/v1/forms/{formId}/pages ``` Create a page on the requested form. Body formId must match the route parent. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id, used to resolve the guild for the admin-permission check. string | **Body** (Forms2CreateFormPageRequest): | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `description` (optional) | string | | | `fields` (optional) | Forms2CreateFormFieldNestedRequest[] | | | `formId` | string | The form to attach this page to. | | `id` (optional) | string (uuid) | | | `index` (optional) | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | | | `unlockValue` (optional) | string | | **Returns** 201: The created page. (Forms2PageResponse) | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `formId` | string | Owning form id. | | `id` | string (uuid) | | | `index` | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | Field id that must be answered a specific way before this page unlocks, if this page is gated. | | `unlockValue` (optional) | string | The answer value required on `unlockFieldId` to unlock this page. | | `updatedAt` (optional) | string | ISO 8601. | - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment. - `422` Request body failed validation (see issues). ### Reorder form pages ``` PUT https://api.guild.xyz/v1/forms/{formId}/pages ``` Reorder a form's pages. The response body is the literal JSON number 200, not the reordered list — fetch GET /v1/forms/{formId} to see the new order. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | **Body** (Forms2ReorderPagesRequest): | Field | Type | Description | | --- | --- | --- | | `pageIds` | string[] | Sets each listed page's index to its position in this array (0-based), scoped to `formId`. Pages not listed keep their current index. Every entry must be a valid UUID — a malformed entry (including an empty string) fails the whole request with a 422. | **Returns** 200: Reordered. The response body is the literal number 200. - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with this id. - `422` Request body failed validation (see issues). ### Delete a form page ``` DELETE https://api.guild.xyz/v1/forms/{formId}/pages/{pageId} ``` Delete a page belonging to the requested form. Pages with submitted answers return 409. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id, used to resolve the guild for the admin-permission check. string | | `pageId` | path | Page id. string (uuid) | **Returns** 200: The deleted page, as it was before deletion. (Forms2PageResponse) | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `formId` | string | Owning form id. | | `id` | string (uuid) | | | `index` | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | Field id that must be answered a specific way before this page unlocks, if this page is gated. | | `unlockValue` (optional) | string | The answer value required on `unlockFieldId` to unlock this page. | | `updatedAt` (optional) | string | ISO 8601. | - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment, or no page exists with this pageId. ### Get a form page ``` GET https://api.guild.xyz/v1/forms/{formId}/pages/{pageId} ``` Read a page belonging to the requested form. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. Not used to scope the lookup — see above. string | | `pageId` | path | Page id. string (uuid) | **Returns** 200: The page. (Forms2PageResponse) | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `formId` | string | Owning form id. | | `id` | string (uuid) | | | `index` | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | Field id that must be answered a specific way before this page unlocks, if this page is gated. | | `unlockValue` (optional) | string | The answer value required on `unlockFieldId` to unlock this page. | | `updatedAt` (optional) | string | ISO 8601. | - `404` No page exists with this id. ### Update a form page ``` PUT https://api.guild.xyz/v1/forms/{formId}/pages/{pageId} ``` Update a page belonging to the requested form. Omitted fields remain unchanged. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id, used to resolve the guild for the admin-permission check. string | | `pageId` | path | Page id. string (uuid) | **Body** (Forms2UpdateFormPageRequest): | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `description` (optional) | string | | | `index` (optional) | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | | | `unlockValue` (optional) | string | | **Returns** 200: The updated page. (Forms2PageResponse) | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `formId` | string | Owning form id. | | `id` | string (uuid) | | | `index` | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | Field id that must be answered a specific way before this page unlocks, if this page is gated. | | `unlockValue` (optional) | string | The answer value required on `unlockFieldId` to unlock this page. | | `updatedAt` (optional) | string | ISO 8601. | - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment, or no page exists with this pageId. - `422` Request body failed validation (see issues). ### Create a form field ``` POST https://api.guild.xyz/v1/forms/{formId}/pages/{pageId}/fields ``` Create a field on the requested form page. Body formPageId must match the route pageId. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id, used to resolve the guild for the admin-permission check. string | | `pageId` | path | Checked for UUID shape only; its value is not otherwise used — see formPageId on the request body. string (uuid) | **Body** (Forms2CreateFormFieldRequest): | Field | Type | Description | | --- | --- | --- | | `formPageId` | string (uuid) | The page to attach this field to. | | `helpText` (optional) | string | | | `index` (optional) | integer (int32) | | | `options` (optional) | object | | | `placeholder` (optional) | string | | | `question` | string | | | `required` (optional) | boolean | | | `type` | Forms2FormFieldType | `form_field.type` — determines how `options` on the field is shaped and how the client should render the input. | **Returns** 201: The created field. (Forms2FieldResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formPageId` | string (uuid) | | | `helpText` (optional) | string | | | `id` | string (uuid) | | | `index` | integer (int32) | | | `options` (optional) | object | Free-form JSON; by convention shaped by `type` (e.g. `allowed_types` for FILE_UPLOAD, `choices`/`allow_other` for SINGLE_CHOICE / MULTIPLE_CHOICE / DROPDOWN, `worst_label`/`best_label`/`steps` for RATE, `platform` for IDENTITY) but the API accepts any JSON value here — the shape is not enforced server-side. | | `placeholder` (optional) | string | | | `question` | string | | | `required` (optional) | boolean | | | `type` | Forms2FormFieldType | `form_field.type` — determines how `options` on the field is shaped and how the client should render the input. | | `updatedAt` (optional) | string | ISO 8601. | - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment. - `422` pageId is not a valid UUID, or the request body failed validation (see issues). ### Reorder form fields ``` PUT https://api.guild.xyz/v1/forms/{formId}/pages/{pageId}/fields ``` Reorder the fields of a page. formId only gates the admin-permission check — the page reordered is pageId. The response body is the literal JSON number 200, not the reordered list. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id, used to resolve the guild for the admin-permission check. string | | `pageId` | path | Page id. string (uuid) | **Body** (Forms2ReorderFieldsRequest): | Field | Type | Description | | --- | --- | --- | | `fieldIds` | string[] | Sets each listed field's index to its position in this array (0-based), scoped to `pageId`. Fields not listed keep their current index. Every entry must be a valid UUID — a malformed entry (including an empty string) fails the whole request with a 422. | **Returns** 200: Reordered. The response body is the literal number 200. - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment. - `422` Request body failed validation (see issues). ### Delete a form field ``` DELETE https://api.guild.xyz/v1/forms/{formId}/pages/{pageId}/fields/{fieldId} ``` Delete a field belonging to the requested form and page. Fields with submitted answers return 409. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id, used to resolve the guild for the admin-permission check. string | | `pageId` | path | Owning page ID. string (uuid) | | `fieldId` | path | Field id. string (uuid) | **Returns** 200: The deleted field, as it was before deletion. (Forms2FieldResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formPageId` | string (uuid) | | | `helpText` (optional) | string | | | `id` | string (uuid) | | | `index` | integer (int32) | | | `options` (optional) | object | Free-form JSON; by convention shaped by `type` (e.g. `allowed_types` for FILE_UPLOAD, `choices`/`allow_other` for SINGLE_CHOICE / MULTIPLE_CHOICE / DROPDOWN, `worst_label`/`best_label`/`steps` for RATE, `platform` for IDENTITY) but the API accepts any JSON value here — the shape is not enforced server-side. | | `placeholder` (optional) | string | | | `question` | string | | | `required` (optional) | boolean | | | `type` | Forms2FormFieldType | `form_field.type` — determines how `options` on the field is shaped and how the client should render the input. | | `updatedAt` (optional) | string | ISO 8601. | - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment, or no field exists with this fieldId. - `422` pageId or fieldId is not a valid UUID. ### Get a form field ``` GET https://api.guild.xyz/v1/forms/{formId}/pages/{pageId}/fields/{fieldId} ``` Read a field belonging to the requested form and page. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. Not used to scope the lookup — see above. string | | `pageId` | path | Page id. Not used to scope the lookup — see above. string (uuid) | | `fieldId` | path | Field id. string (uuid) | **Returns** 200: The field. (Forms2FieldResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formPageId` | string (uuid) | | | `helpText` (optional) | string | | | `id` | string (uuid) | | | `index` | integer (int32) | | | `options` (optional) | object | Free-form JSON; by convention shaped by `type` (e.g. `allowed_types` for FILE_UPLOAD, `choices`/`allow_other` for SINGLE_CHOICE / MULTIPLE_CHOICE / DROPDOWN, `worst_label`/`best_label`/`steps` for RATE, `platform` for IDENTITY) but the API accepts any JSON value here — the shape is not enforced server-side. | | `placeholder` (optional) | string | | | `question` | string | | | `required` (optional) | boolean | | | `type` | Forms2FormFieldType | `form_field.type` — determines how `options` on the field is shaped and how the client should render the input. | | `updatedAt` (optional) | string | ISO 8601. | - `404` No field exists with this id. - `422` fieldId is not a valid UUID. ### Update a form field ``` PUT https://api.guild.xyz/v1/forms/{formId}/pages/{pageId}/fields/{fieldId} ``` Update a field belonging to the requested form and page. Omitted fields remain unchanged. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id, used to resolve the guild for the admin-permission check. string | | `pageId` | path | Owning page ID. string (uuid) | | `fieldId` | path | Field id. string (uuid) | **Body** (Forms2UpdateFormFieldRequest): | Field | Type | Description | | --- | --- | --- | | `helpText` (optional) | string | | | `index` (optional) | integer (int32) | | | `options` (optional) | object | | | `placeholder` (optional) | string | | | `question` (optional) | string | | | `required` (optional) | boolean | | | `type` (optional) | object or Forms2FormFieldType | | **Returns** 200: The updated field. (Forms2FieldResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formPageId` | string (uuid) | | | `helpText` (optional) | string | | | `id` | string (uuid) | | | `index` | integer (int32) | | | `options` (optional) | object | Free-form JSON; by convention shaped by `type` (e.g. `allowed_types` for FILE_UPLOAD, `choices`/`allow_other` for SINGLE_CHOICE / MULTIPLE_CHOICE / DROPDOWN, `worst_label`/`best_label`/`steps` for RATE, `platform` for IDENTITY) but the API accepts any JSON value here — the shape is not enforced server-side. | | `placeholder` (optional) | string | | | `question` | string | | | `required` (optional) | boolean | | | `type` | Forms2FormFieldType | `form_field.type` — determines how `options` on the field is shaped and how the client should render the input. | | `updatedAt` (optional) | string | ISO 8601. | - `400` Malformed JSON in request body. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment, or no field exists with this fieldId. - `422` pageId or fieldId is not a valid UUID, or the request body failed validation (see issues). ### Export form submissions to Google Sheets ``` POST https://api.guild.xyz/v1/forms/{formId}/sheets ``` Export a form's submissions to a new Google Sheet, using the caller's linked Google identity and OAuth token. The caller must be an admin, owner, or super admin of the form's guild. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | **Returns** 200: The Google Sheet was created. (Forms2SheetsExportResponse) | Field | Type | Description | | --- | --- | --- | | `url` | string | URL of the Google Sheet the submissions were exported to. | - `400` The caller has no linked Google identity. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with this id. ### List form submissions ``` GET https://api.guild.xyz/v1/forms/{formId}/submissions ``` List a form's submissions. Guild admins, owners, and super admins may list all submissions and filter by any userId. Non-admin callers must pass userId equal to their own user id — any other value, including omitting the parameter, returns 403. Records a form_submission.view audit event when called by an admin. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | | `userId` (optional) | query | Filter to one user's submissions. For non-admin callers this must equal the caller's own user id. string (uuid) | | `limit` (optional) | query | Max rows to return. integer (int64) | | `offset` (optional) | query | Rows to skip. integer (int64) | | `status` (optional) | query | Filter by submission status. Forms2FormSubmissionStatus | **Returns** 200: The matching submissions. (Forms2SubmissionResponse[]) - `401` Missing or invalid Guild session. - `403` Caller is not an admin/owner/super admin and either omitted userId or passed a userId other than their own. - `404` No form exists with this id. - `422` status is not one of the allowed values, or limit/offset could not be parsed as a number. ### Create a form submission ``` POST https://api.guild.xyz/v1/forms/{formId}/submissions ``` Submit a form as the calling user. The formId path segment is not used — the submitted form is formId in the request body. If the form is linked to a reward, the reward is auto-granted on submission unless the reward's autoGrantReward is false, in which case the submission is created as pending for manual review. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Not used — see above. string | **Body** (Forms2CreateFormSubmissionRequest): | Field | Type | Description | | --- | --- | --- | | `answers` (optional) | Forms2FormAnswerInput[] | | | `confirmationEmailIdentityId` (optional) | string | Identity id to send the confirmation email to; required when the form has confirmationEmail enabled. | | `formId` | string | | **Returns** 201: The created submission. (Forms2SubmissionResponse) | Field | Type | Description | | --- | --- | --- | | `answers` | Forms2AnswerResponse[] | | | `confirmationEmailIdentityId` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `formId` | string | | | `id` | string (uuid) | | | `reviewNote` (optional) | string | | | `reviewedAt` (optional) | string | ISO 8601. | | `reviewedBy` (optional) | string (uuid) | Id of the admin who approved/rejected this submission, if reviewed. | | `status` | Forms2FormSubmissionStatus | `form_submission.status`. | | `updatedAt` (optional) | string | ISO 8601. | | `userId` | string (uuid) | | - `400` Malformed JSON body, or a business-requirement failure: the form is a draft, not yet open, already closed, at the caller's submission limit, requires unlocking a linked role first, requires a confirmation email identity that was not supplied, or its linked reward is misconfigured. - `401` Missing or invalid Guild session. - `404` formId in the body does not refer to an existing form. - `422` Request body failed validation (see issues). ### Delete a form submission ``` DELETE https://api.guild.xyz/v1/forms/{formId}/submissions/{submissionId} ``` Delete the caller's own form submission — there is no admin override, only the submitting user may delete it — and revoke the form's linked reward if it was granted and no other approved submission remains. The submission's form must be editable. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | | `submissionId` | path | Submission id. string (uuid) | **Returns** 200: The deleted submission, as it was before deletion. (Forms2SubmissionResponse) | Field | Type | Description | | --- | --- | --- | | `answers` | Forms2AnswerResponse[] | | | `confirmationEmailIdentityId` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `formId` | string | | | `id` | string (uuid) | | | `reviewNote` (optional) | string | | | `reviewedAt` (optional) | string | ISO 8601. | | `reviewedBy` (optional) | string (uuid) | Id of the admin who approved/rejected this submission, if reviewed. | | `status` | Forms2FormSubmissionStatus | `form_submission.status`. | | `updatedAt` (optional) | string | ISO 8601. | | `userId` | string (uuid) | | - `400` The submission's form is not editable, so it cannot be deleted, or its linked reward is misconfigured. - `401` Missing or invalid Guild session. - `403` The submission belongs to a different user. - `404` No submission exists with this id on this form. - `422` submissionId is not a valid UUID. ### Get a form submission ``` GET https://api.guild.xyz/v1/forms/{formId}/submissions/{submissionId} ``` Get a form submission by id, scoped to formId. The caller must be an admin, owner, or super admin of the form's guild. Records a form_submission.view audit event. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | | `submissionId` | path | Submission id. string (uuid) | **Returns** 200: The submission. (Forms2SubmissionResponse) | Field | Type | Description | | --- | --- | --- | | `answers` | Forms2AnswerResponse[] | | | `confirmationEmailIdentityId` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `formId` | string | | | `id` | string (uuid) | | | `reviewNote` (optional) | string | | | `reviewedAt` (optional) | string | ISO 8601. | | `reviewedBy` (optional) | string (uuid) | Id of the admin who approved/rejected this submission, if reviewed. | | `status` | Forms2FormSubmissionStatus | `form_submission.status`. | | `updatedAt` (optional) | string | ISO 8601. | | `userId` | string (uuid) | | - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment, or no submission exists with this submissionId on that form. - `422` submissionId is not a valid UUID. ### Create a form answer ``` POST https://api.guild.xyz/v1/forms/{formId}/submissions/{submissionId}/answers ``` Add an answer to one of the caller's own submissions. formId in the path is not used. Only allowed while the submission's form is editable, and — for submissions on a form whose linked reward requires manual approval — only while the submission is still pending. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Not used. string | | `submissionId` | path | Submission id to attach the answer to. string (uuid) | **Body** (Forms2FormAnswerInput): | Field | Type | Description | | --- | --- | --- | | `formFieldId` | string (uuid) | | | `value` | string | | **Returns** 201: The created answer. (Forms2AnswerResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formFieldId` | string (uuid) | | | `formSubmissionId` | string (uuid) | | | `updatedAt` (optional) | string | ISO 8601. | | `value` | string | | - `400` Malformed JSON body, the submission can no longer be edited (its form is not editable, or it has already been reviewed), or its linked reward is misconfigured. - `401` Missing or invalid Guild session. - `403` The submission belongs to a different user. - `404` No submission exists with this submissionId. - `422` submissionId is not a valid UUID, or the request body failed validation (see issues). ### Update a form answer ``` PUT https://api.guild.xyz/v1/forms/{formId}/submissions/{submissionId}/answers/{fieldId} ``` Update one answer of the caller's own submission. Same editability requirements as creating an answer (see POST .../answers). formId in the path is not used. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Not used. string | | `submissionId` | path | Submission id. string (uuid) | | `fieldId` | path | Field id whose answer is being updated. string (uuid) | **Body** (Forms2UpdateFormAnswerRequest): | Field | Type | Description | | --- | --- | --- | | `value` (optional) | string | | **Returns** 200: The updated answer. (Forms2AnswerResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formFieldId` | string (uuid) | | | `formSubmissionId` | string (uuid) | | | `updatedAt` (optional) | string | ISO 8601. | | `value` | string | | - `400` Malformed JSON body, the submission can no longer be edited (its form is not editable, or it has already been reviewed), or its linked reward is misconfigured. - `401` Missing or invalid Guild session. - `403` The submission belongs to a different user. - `404` No submission exists with this submissionId, or it has no answer for this fieldId yet. - `422` submissionId or fieldId is not a valid UUID, or the request body failed validation (see issues). ### Review a form submission ``` PATCH https://api.guild.xyz/v1/forms/{formId}/submissions/{submissionId}/review ``` Approve or reject a form submission. Approving grants the form's linked reward, if any; rejecting revokes it unless the user has another approved submission for the same form. The caller must be an admin, owner, or super admin of the form's guild. Records a form_submission.approve or form_submission.reject audit event. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `formId` | path | Form id. string | | `submissionId` | path | Submission id. string (uuid) | **Body** (Forms2ReviewSubmissionRequest): | Field | Type | Description | | --- | --- | --- | | `reviewNote` (optional) | string | Trimmed; max 2000 characters. Pass null to clear an existing note. | | `status` | Forms2ReviewStatus | The decision passed to `PATCH .../review`. Unlike `Forms2FormSubmissionStatus`, "pending" is not a valid review outcome. | **Returns** 200: The reviewed submission. (Forms2SubmissionResponse) | Field | Type | Description | | --- | --- | --- | | `answers` | Forms2AnswerResponse[] | | | `confirmationEmailIdentityId` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `formId` | string | | | `id` | string (uuid) | | | `reviewNote` (optional) | string | | | `reviewedAt` (optional) | string | ISO 8601. | | `reviewedBy` (optional) | string (uuid) | Id of the admin who approved/rejected this submission, if reviewed. | | `status` | Forms2FormSubmissionStatus | `form_submission.status`. | | `updatedAt` (optional) | string | ISO 8601. | | `userId` | string (uuid) | | - `400` Malformed JSON in request body, or the form's linked reward is misconfigured. - `401` Missing or invalid Guild session. - `403` Caller is not an admin, owner, or super admin of the form's guild. - `404` No form exists with the formId path segment, or no submission exists with this submissionId on that form. - `422` submissionId is not a valid UUID, or the request body failed validation (see issues). ## Quests ### A guild's quest leaderboards ``` GET https://api.guild.xyz/v1/guilds/{guildIdLike}/quest-leaderboards ``` Public. Not archived leaderboards, newest window first; leaderboards on a hidden POINTS system are shown only to the guild's admins, who may also pass `includeArchived=true`. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `includeArchived` (optional) | query | Admins only; ignored for others. boolean | **Returns** 200: Done. (QuestLeaderboardList) | Field | Type | Description | | --- | --- | --- | | `leaderboards` | QuestLeaderboard[] | | - `404` No such guild. - `422` Invalid input. - `503` QUESTS_UNAVAILABLE. ### Create a quest leaderboard ``` POST https://api.guild.xyz/v1/guilds/{guildIdLike}/quest-leaderboards ``` Guild admins only. Ranks the members of one of the guild's POINTS systems by the points they earned inside `[startsAt, endsAt)`: scope `quests` (the default) counts only the claims and revokes of the guild's quest rewards on that system, scope `all` every ledger row of it. A guild holds at most 50 leaderboards that are not archived (409 QUEST_LEADERBOARD_LIMIT). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | **Body** (QuestLeaderboardInput): | Field | Type | Description | | --- | --- | --- | | `endsAt` (optional) | string | After `startsAt`, at most 366 days later. | | `listed` (optional) | boolean | Default false. | | `platformId` (optional) | string (uuid) | | | `prizes` (optional) | string | At most 2000 characters. | | `scope` (optional) | string | `quests` (default) or `all`. | | `startsAt` (optional) | string | | | `title` (optional) | string | 1..120 characters. | **Returns** 201: Created. (QuestLeaderboard) | Field | Type | Description | | --- | --- | --- | | `endsAt` | string | ISO 8601, exclusive. | | `guild` (optional) | object or QuestLeaderboardGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `listed` | boolean | Shown on quest.xyz. | | `platformId` | string (uuid) | The POINTS system it sums. | | `prizes` (optional) | string | Free text shown to members. | | `scope` | string | `quests` (only the guild's quest rewards on the system) or `all`. | | `startsAt` | string | ISO 8601, inclusive. | | `status` | string | `scheduled \| live \| ended \| archived`. | | `title` | string | | - `401` Signed out. - `403` Not a guild admin. - `404` No such guild. - `409` QUEST_LEADERBOARD_LIMIT. - `422` Invalid input, or the system is not a POINTS system of this guild. - `503` QUESTS_UNAVAILABLE. ### Archive a quest leaderboard ``` DELETE https://api.guild.xyz/v1/guilds/{guildIdLike}/quest-leaderboards/{id} ``` Guild admins only. Sets `archivedAt`; the ledger is untouched. Idempotent. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `id` | path | Leaderboard id. string (uuid) | **Returns** 204: Archived. - `401` Signed out. - `403` Not a guild admin. - `404` No such guild or leaderboard. - `503` QUESTS_UNAVAILABLE. ### Edit a quest leaderboard ``` PATCH https://api.guild.xyz/v1/guilds/{guildIdLike}/quest-leaderboards/{id} ``` Guild admins only. Omitted fields keep their value; the merged window must still be valid. Any edit refreshes cached standings, final ones included. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `id` | path | Leaderboard id. string (uuid) | **Body** (QuestLeaderboardInput): | Field | Type | Description | | --- | --- | --- | | `endsAt` (optional) | string | After `startsAt`, at most 366 days later. | | `listed` (optional) | boolean | Default false. | | `platformId` (optional) | string (uuid) | | | `prizes` (optional) | string | At most 2000 characters. | | `scope` (optional) | string | `quests` (default) or `all`. | | `startsAt` (optional) | string | | | `title` (optional) | string | 1..120 characters. | **Returns** 200: Done. (QuestLeaderboard) | Field | Type | Description | | --- | --- | --- | | `endsAt` | string | ISO 8601, exclusive. | | `guild` (optional) | object or QuestLeaderboardGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `listed` | boolean | Shown on quest.xyz. | | `platformId` | string (uuid) | The POINTS system it sums. | | `prizes` (optional) | string | Free text shown to members. | | `scope` | string | `quests` (only the guild's quest rewards on the system) or `all`. | | `startsAt` | string | ISO 8601, inclusive. | | `status` | string | `scheduled \| live \| ended \| archived`. | | `title` | string | | - `401` Signed out. - `403` Not a guild admin. - `404` No such guild, or no such (or an archived) leaderboard of it. - `422` Invalid input. - `503` QUESTS_UNAVAILABLE. ### Export a quest leaderboard as CSV ``` GET https://api.guild.xyz/v1/guilds/{guildIdLike}/quest-leaderboards/{id}/csv ``` Guild admins only, for prize review and payout. Columns: `rank, points, userId, primaryIdentity` (the member's first identity id, e.g. `EVM-0x…`), `accountCreatedAt`, `connectedIdentityTypes` (`;`-separated platforms). One consistent read of at most 10,000 rows; `X-Total-Items` carries every ranked member, so a cut file is recognisable. Recorded in the guild's audit log. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `id` | path | Leaderboard id. string (uuid) | **Returns** 200: CSV file. - `401` Signed out. - `403` Not a guild admin. - `404` No such guild or leaderboard. - `503` QUESTS_UNAVAILABLE. ### A guild's quests ``` GET https://api.guild.xyz/v1/guilds/{guildIdLike}/quests ``` Public; `viewer` only with a session. Archived quests are left out unless a guild admin asks with `includeArchived=true`, and a quest whose role is not visible to the caller (as `GET /roles/{roleId}` decides) only guild admins see. Ordered by `position`, then oldest first. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `includeArchived` (optional) | query | Admins only. boolean | **Returns** 200: `{ quests }`. (QuestList) | Field | Type | Description | | --- | --- | --- | | `quests` | Quest[] | | - `404` No such guild. - `503` QUESTS_UNAVAILABLE. ### Create a quest ``` POST https://api.guild.xyz/v1/guilds/{guildIdLike}/quests ``` Guild admins only. Creates the page-less role, its requirements (one per task), the POINTS reward (on an existing points system, or a new one named `newPlatformName`; keeps points on access loss and deducts them on leaving the guild) and the quest row. On any failure it deletes what it created and returns the error. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | **Body** (CreateQuestInput): | Field | Type | Description | | --- | --- | --- | | `amount` | integer (int64) | 1 to 1,000,000,000. | | `anyOfNum` (optional) | integer (int64) | Required with `ANY_OF`: 1 to the number of tasks. | | `description` (optional) | string | | | `endsAt` (optional) | string | | | `imageUrl` (optional) | string | | | `listed` (optional) | boolean | | | `logic` (optional) | string | `AND` (default), `OR` or `ANY_OF`. | | `points` | object | `{ platformId }` of a POINTS system of the guild, or `{ newPlatformName }`. | | `startsAt` (optional) | string | | | `tasks` | CreateQuestTask[] | 1 to 20. | | `title` | string | 1 to 100 characters (the role name). | **Returns** 201: The quest. (Quest) | Field | Type | Description | | --- | --- | --- | | `anyOfNum` (optional) | integer (int64) | | | `delistedAt` (optional) | string | ISO-8601 when staff took the quest off quest.xyz; `null` = not delisted. | | `description` (optional) | string | | | `endsAt` (optional) | string | ISO-8601; `null` = no end. The window is `[startsAt, endsAt)`. | | `guild` | QuestGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | The role id. | | `imageUrl` (optional) | string | | | `listed` | boolean | | | `logic` | string | `AND`, `OR` or `ANY_OF`. | | `participants` | integer (int64) | Members holding the quest's points. | | `points` | QuestPoints | | | `position` | integer (int64) | | | `startsAt` (optional) | string | ISO-8601; `null` = immediately. | | `status` | string | `scheduled`, `live`, `ended` or `archived`. | | `tasks` | QuestTask[] | | | `title` | string | | | `viewer` (optional) | object or QuestViewer | | - `401` Signed out. - `403` Not a guild admin. - `404` No such guild. - `422` Invalid input. - `503` QUESTS_UNAVAILABLE. ### Archive a quest ``` DELETE https://api.guild.xyz/v1/guilds/{guildIdLike}/quests/{questId} ``` Guild admins only. Sets `archived_at`: the quest leaves the lists and its points can no longer be claimed; points already awarded stay. Idempotent. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `questId` | path | Quest (role) id. string | **Returns** 200: The archived quest. (Quest) | Field | Type | Description | | --- | --- | --- | | `anyOfNum` (optional) | integer (int64) | | | `delistedAt` (optional) | string | ISO-8601 when staff took the quest off quest.xyz; `null` = not delisted. | | `description` (optional) | string | | | `endsAt` (optional) | string | ISO-8601; `null` = no end. The window is `[startsAt, endsAt)`. | | `guild` | QuestGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | The role id. | | `imageUrl` (optional) | string | | | `listed` | boolean | | | `logic` | string | `AND`, `OR` or `ANY_OF`. | | `participants` | integer (int64) | Members holding the quest's points. | | `points` | QuestPoints | | | `position` | integer (int64) | | | `startsAt` (optional) | string | ISO-8601; `null` = immediately. | | `status` | string | `scheduled`, `live`, `ended` or `archived`. | | `tasks` | QuestTask[] | | | `title` | string | | | `viewer` (optional) | object or QuestViewer | | - `401` Signed out. - `403` Not a guild admin. - `404` No such quest in this guild. - `503` QUESTS_UNAVAILABLE. ### Edit a quest ``` PATCH https://api.guild.xyz/v1/guilds/{guildIdLike}/quests/{questId} ``` Guild admins only. Any of title, description, imageUrl, amount, startsAt, endsAt, listed, position; tasks are edited with the requirement routes. A new amount applies to claims from now on. 409 QUEST_ARCHIVED for an archived quest. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. string | | `questId` | path | Quest (role) id. string | **Body** (UpdateQuestInput): | Field | Type | Description | | --- | --- | --- | | `amount` (optional) | integer (int64) | | | `description` (optional) | string | | | `endsAt` (optional) | string | | | `imageUrl` (optional) | string | | | `listed` (optional) | boolean | | | `position` (optional) | integer (int64) | | | `startsAt` (optional) | string | | | `title` (optional) | string | | **Returns** 200: The quest. (Quest) | Field | Type | Description | | --- | --- | --- | | `anyOfNum` (optional) | integer (int64) | | | `delistedAt` (optional) | string | ISO-8601 when staff took the quest off quest.xyz; `null` = not delisted. | | `description` (optional) | string | | | `endsAt` (optional) | string | ISO-8601; `null` = no end. The window is `[startsAt, endsAt)`. | | `guild` | QuestGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | The role id. | | `imageUrl` (optional) | string | | | `listed` | boolean | | | `logic` | string | `AND`, `OR` or `ANY_OF`. | | `participants` | integer (int64) | Members holding the quest's points. | | `points` | QuestPoints | | | `position` | integer (int64) | | | `startsAt` (optional) | string | ISO-8601; `null` = immediately. | | `status` | string | `scheduled`, `live`, `ended` or `archived`. | | `tasks` | QuestTask[] | | | `title` | string | | | `viewer` (optional) | object or QuestViewer | | - `401` Signed out. - `403` Not a guild admin. - `404` No such quest in this guild. - `409` QUEST_ARCHIVED. - `422` Invalid input. - `503` QUESTS_UNAVAILABLE. ### Listed quest leaderboards across guilds ``` GET https://api.guild.xyz/v1/quest-leaderboards ``` Public; what quest.xyz shows. Listed, not archived leaderboards on a visible POINTS system of an eligible guild (Guild-verified or at least 50 members). `status=live` (default) orders by ending soonest, `scheduled` by starting soonest, `ended` by most recently ended. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `listed` (optional) | query | Must be `true` when given. boolean | | `status` (optional) | query | `live` (default), `scheduled` or `ended`. string | | `limit` (optional) | query | 1..100, default 50. integer (int64) | **Returns** 200: Done. (QuestLeaderboardList) | Field | Type | Description | | --- | --- | --- | | `leaderboards` | QuestLeaderboard[] | | - `422` Invalid input. - `503` QUESTS_UNAVAILABLE. ### A quest leaderboard's standings ``` GET https://api.guild.xyz/v1/quest-leaderboards/{id} ``` Public; archived leaderboards and those on a hidden POINTS system answer 404 except to the guild's admins. Ranked by points earned in `[startsAt, endsAt)` (desc), ties by the earliest point earned in the window; only positive totals rank. `viewer` is the signed-in caller's row; `userId` asks for another member's row and is for the guild's admins (a member may name only themself). Standings are cached for 10 s; once the window has closed they are final and cached until the leaderboard is edited. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `id` | path | Leaderboard id. string (uuid) | | `limit` (optional) | query | 1..100, default 25. integer (int64) | | `offset` (optional) | query | 0..100000, default 0. integer (int64) | | `userId` (optional) | query | Whose row `viewer` is. string (uuid) | **Returns** 200: Done. (QuestLeaderboardStandings) | Field | Type | Description | | --- | --- | --- | | `leaderboard` | QuestLeaderboard | A quest leaderboard: the POINTS system's ledger inside `[startsAt, endsAt)`. `guild` is set only on the cross-guild list. | | `rows` | QuestLeaderboardRow[] | | | `total` | integer (int64) | Members with a positive total in the window. | | `viewer` (optional) | object or QuestLeaderboardViewer | | - `401` `userId` given while signed out. - `403` `userId` names someone else and the caller is not a guild admin. - `404` No such leaderboard. - `422` Invalid input. - `503` QUESTS_UNAVAILABLE. ### The cross-guild quest directory ``` GET https://api.guild.xyz/v1/quests ``` Public; `viewer` only with a session. Listed quests that are not delisted, archived or ended, from guilds that are Guild-verified or have at least 50 members, ending soonest first (no end last). `status`: absent = scheduled and live, `live`, `scheduled`, or `ended` (always empty). Quests whose role is not visible to the caller are left out (a page can then hold fewer than `limit`). **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `status` (optional) | query | live, scheduled or ended. string | | `guild` (optional) | query | A guildIdLike: only that guild's quests (an unknown guild has none). string | | `cursor` (optional) | query | `nextCursor` of the previous page. string | | `limit` (optional) | query | 1..50, default 20. integer (int64) | **Returns** 200: `{ quests, nextCursor }`. (QuestDirectory) | Field | Type | Description | | --- | --- | --- | | `nextCursor` (optional) | string | Pass back as `cursor` for the next page; `null` on the last. | | `quests` | Quest[] | | - `422` Invalid status, cursor or limit. - `503` QUESTS_UNAVAILABLE. ### A quest ``` GET https://api.guild.xyz/v1/quests/{questId} ``` Public; `viewer` only with a session. An archived quest, and one whose role is not visible to the caller (as `GET /roles/{roleId}` decides), is shown only to its guild's admins. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `questId` | path | Quest (role) id. string | **Returns** 200: The quest. (Quest) | Field | Type | Description | | --- | --- | --- | | `anyOfNum` (optional) | integer (int64) | | | `delistedAt` (optional) | string | ISO-8601 when staff took the quest off quest.xyz; `null` = not delisted. | | `description` (optional) | string | | | `endsAt` (optional) | string | ISO-8601; `null` = no end. The window is `[startsAt, endsAt)`. | | `guild` | QuestGuild | | | `guildId` | string (uuid) | | | `id` | string (uuid) | The role id. | | `imageUrl` (optional) | string | | | `listed` | boolean | | | `logic` | string | `AND`, `OR` or `ANY_OF`. | | `participants` | integer (int64) | Members holding the quest's points. | | `points` | QuestPoints | | | `position` | integer (int64) | | | `startsAt` (optional) | string | ISO-8601; `null` = immediately. | | `status` | string | `scheduled`, `live`, `ended` or `archived`. | | `tasks` | QuestTask[] | | | `title` | string | | | `viewer` (optional) | object or QuestViewer | | - `404` No such quest. - `503` QUESTS_UNAVAILABLE. ### Complete a quest ``` POST https://api.guild.xyz/v1/quests/{questId}/complete ``` Session required. For a live or scheduled quest, joins the guild when it is open and the caller is not a member; runs the quest role's access check for a member (the X check limit applies), and when access is granted and the quest is live claims its POINTS reward. Idempotent: an existing claim answers `awarded: 0, alreadyCompleted: true`. Outside `[startsAt, endsAt)` it answers 409 QUEST_NOT_ACTIVE whose body carries the checked `quest` (with `viewer`) and `hasAccess`; an ended or archived quest joins nobody. An archived quest, or one whose role is not visible to the caller, is 404 except to the guild's admins. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `questId` | path | Quest (role) id. string | **Returns** 200: `{ quest, awarded, alreadyCompleted }`. (QuestCompleteResult) | Field | Type | Description | | --- | --- | --- | | `alreadyCompleted` | boolean | | | `awarded` | integer (int64) | Points written by this call; 0 when already completed or not passed. | | `quest` | Quest | A quest: a page-less role (title, description, image, tasks) plus its sidecar (window, listing) and POINTS reward. | - `401` Signed out. - `403` The guild cannot be joined. - `404` No such quest, or archived and the caller is not a guild admin. - `409` QUEST_NOT_ACTIVE, with `quest`. - `429` Check limit hit. - `503` QUESTS_UNAVAILABLE. ## API Keys ### List a guild's API keys ``` GET https://api.guild.xyz/v1/guilds/{guildId}/api-keys ``` Lists the guild's API keys with their raw key values masked to a short hint (first/last 3 characters). Unlike creating a key, this endpoint does not require an API-access subscription tier. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | **Returns** 200: The guild's API keys. (ApiKeysHintResponse[]) - `401` Missing or invalid Guild session. - `403` The caller does not have admin-level access to the guild (admin/owner/superAdmin). - `404` No guild with this id/url name. - `429` Rate limit hit. See the Retry-After header. ### Create an API key ``` POST https://api.guild.xyz/v1/guilds/{guildId}/api-keys ``` Creates a new API key for the guild, optionally scoped to the `permissions` allowlist (full v1 access if omitted or empty). The raw key value is only ever returned in this response — `GET` only ever returns a masked hint. Requires the guild to have an active API-access subscription tier. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | **Body** (ApiKeysCreateRequest): | Field | Type | Description | | --- | --- | --- | | `name` (optional) | string | Label for the key. Omit to store the default `"Unnamed API key"`; send an explicit `null` to store no name. | | `permissions` (optional) | string[] | Allowlist of `" "` strings restricting which endpoints this key may call. The accepted values are exactly the seven rate-limited v1 endpoints `GET /v1/endpoints` returns, each written as its lowercase method, a space, and its hono-style colon path — e.g. `"get /v1/users/:userId"` or `"get /v1/guilds/:guildId/roles"`. Omit, send `null`, or send an empty array to leave the key unrestricted. Any other entry is rejected with a 400. | **Returns** 201: The created API key, including its raw (unmasked) value. (ApiKeysKeyResponse) | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `createdBy` | string (uuid) | Id of the user who created the key. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `key` | string (uuid) | The raw key value — send this as `Authorization: Bearer ` on v1 API requests. | | `name` (optional) | string | `null` only if the create request explicitly sent `name: null`. | | `permissions` (optional) | string[] | See [`ApiKeysCreateRequest::permissions`]. `null` only if the create request explicitly sent `permissions: null`. | - `400` Malformed JSON body, or `permissions` contained an entry that is not a recognized `" "` endpoint permission. - `401` Missing or invalid Guild session. - `403` The caller does not have admin-level access to the guild (admin/owner/superAdmin), or the guild has no active API-access subscription tier. - `404` No guild with this id/url name. - `422` The request body was not a JSON object, or `name` was present but not a string or null. - `429` Rate limit hit. See the Retry-After header. ### Delete an API key ``` DELETE https://api.guild.xyz/v1/guilds/{guildId}/api-keys/{id} ``` Permanently deletes an API key. Deleting an id that doesn't exist (or was already deleted) is not an error — the response is the same 200 acknowledgement. Responds with HTTP 200 whose JSON body is the bare number `204`, not an empty 204 response. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `id` | path | API key id (not the raw key value). string (uuid) | **Returns** 200: Deleted (or already absent). Body is the literal JSON number `204`. (ApiKeysDeleteAck) - `401` Missing or invalid Guild session. - `403` The caller does not have admin-level access to the guild (admin/owner/superAdmin). - `404` No guild with this id/url name. - `429` Rate limit hit. See the Retry-After header. ## Guild ### Get guild members ``` GET https://api.guild.xyz/v1/guilds/{guildId}/members ``` Get a guild's members, with free-text search, role/reward/location filtering, sorting, and pagination. By default each member's `identities` only includes wallet (`EVM`) identities; guilds on a higher subscription tier (the `crm_with_socials` feature) also get social identities such as Discord, X and email — upgradable from the guild's settings page. `roleIds` and `rewardIds` are mutually-exclusive priority filters: a non-empty `roleIds` wins over everything else, else a non-empty `rewardIds` wins over `search`/`locations`. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `search` (optional) | query | Free-text search across member identities (wallet address, username, email, etc.). Ignored when `roleIds` or `rewardIds` is set. string | | `roleIds` (optional) | query | Filter to members holding ALL of these role IDs — the intersection, not the union (UUID; repeat the param for multiple, or pass a single value). Role IDs that do not belong to this guild are dropped, and if none survive the result is empty. Takes priority over `rewardIds` and `search`. string[] | | `rewardIds` (optional) | query | Filter to members who have claimed all of these reward IDs (UUID; repeat the param for multiple, or pass a single value). Used only when `roleIds` is empty; takes priority over `search`. string[] | | `locations` (optional) | query | Filter by 2-letter location code (repeat the param for multiple, or pass a single value). Only applied when neither `roleIds` nor `rewardIds` is set. string[] | | `sortBy` (optional) | query | Sort field. Only `joinedAt` is supported. Defaults to `joinedAt`. string | | `sortOrder` (optional) | query | Sort direction, `ASC` or `DESC` (case-insensitive). Defaults to `DESC`. string | | `limit` (optional) | query | Page size. Defaults to 16, max 16. integer (int64) | | `offset` (optional) | query | Pagination offset. Defaults to 0, max 10000000. integer (int64) | **Returns** 200: Guild members matching the given filters, sorted and paginated. (V1CrmMember[]) - `401` Missing or invalid API key. - `403` API key not valid for this guild, the key lacks permission for this endpoint, or the guild has no subscription. - `404` No guild found for `guildId`. - `422` Request validation failed: an out-of-range `limit`/`offset`, an invalid UUID in `roleIds`/`rewardIds`, a `locations` entry that isn't exactly 2 characters, or an invalid `sortBy`/`sortOrder`. - `429` Rate limit hit. See the Retry-After header. ## Points ### Deduct points from a user ``` POST https://api.guild.xyz/v1/guilds/{guildId}/points/{platformId}/deduct ``` Deduct (subtract) points from a user's balance on a POINTS platform, recorded as an `api_deduct` ledger transaction — pass a positive `amount`; it is negated internally. Unlike grant, `api_deduct` is not idempotency-protected: retrying the same request with the same `idempotencyKey` deducts again instead of being deduped. Balances aren't floored at zero — deducting more than a user has leaves them negative. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `platformId` | path | The POINTS platform id; must belong to this guild. string (uuid) | **Body** (Points2DeductRequest): | Field | Type | Description | | --- | --- | --- | | `amount` | integer (int64) | Positive integer number of points to remove; the endpoint negates it internally, so don't send a negative number. Must fit in a 32-bit signed integer. | | `idempotencyKey` (optional) | string | Accepted and stored, but (unlike grant) not idempotency-protected: a retry with the same key deducts again instead of being deduped. | | `note` (optional) | string | Optional free-text note stored on the ledger transaction. | | `userId` | string (uuid) | The user to deduct from. | **Returns** 201: The user's new balance. (Points2BalanceResponse) | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | | - `400` Malformed JSON body, or `platformId` isn't a POINTS platform belonging to this guild. - `401` Missing or invalid API key. - `403` API key not valid for this guild, or no subscription. - `404` `guildId` doesn't match any guild. - `422` `userId`, `amount`, `note`, or `idempotencyKey` failed validation. - `429` Rate limit hit. See the Retry-After header. ### Grant points to a user ``` POST https://api.guild.xyz/v1/guilds/{guildId}/points/{platformId}/grant ``` Grant (add) points to a user's balance on a POINTS platform, recorded as an `api_grant` ledger transaction. `idempotencyKey` is declared optional by validation, but `api_grant` is one of the sources backed by a `(userId, sourceId)` uniqueness guard — the storage layer requires a non-empty `idempotencyKey` for this source, and the request fails if it's omitted. Reusing the same `idempotencyKey` on retry is safe: it returns the existing balance instead of granting twice. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `platformId` | path | The POINTS platform id; must belong to this guild. string (uuid) | **Body** (Points2GrantRequest): | Field | Type | Description | | --- | --- | --- | | `amount` | integer (int64) | Positive integer number of points to grant. Must fit in a 32-bit signed integer. | | `idempotencyKey` (optional) | string | De-duplicates retried requests: calling again with the same key returns the existing balance instead of granting twice. Declared optional here, but effectively required — see the endpoint description. | | `note` (optional) | string | Optional free-text note stored on the ledger transaction. | | `userId` | string (uuid) | The recipient's Guild user id. | **Returns** 201: The user's new balance. (Points2BalanceResponse) | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | | - `400` Malformed JSON body, or `platformId` isn't a POINTS platform belonging to this guild. - `401` Missing or invalid API key. - `403` API key not valid for this guild, or no subscription. - `404` `guildId` doesn't match any guild. - `422` `userId`, `amount`, `note`, or `idempotencyKey` failed validation. - `429` Rate limit hit. See the Retry-After header. - `500` `idempotencyKey` was omitted or empty — required in practice for grant transactions (see description). ### Get a POINTS platform's leaderboard ``` GET https://api.guild.xyz/v1/guilds/{guildId}/points/{platformId}/leaderboard ``` Get the paginated leaderboard for a POINTS platform: each ranked user's total balance, plus their primary linked identity. Only users with a strictly positive balance are ranked. Public systems require no authentication; hidden systems require the owning guild's admin access. The response is cached for 10 seconds per `(platformId, limit, offset)`; if the underlying query fails, it falls back to a stale cache (up to 5 minutes old) or an empty leaderboard under the same 200, rather than erroring. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `platformId` | path | The POINTS platform id. string (uuid) | | `limit` (optional) | query | Max rows to return. Defaults to 100. integer (int64) | | `offset` (optional) | query | Rows to skip. Omitting this starts from the top of the leaderboard (equivalent to 0). integer (int64) | **Returns** 200: The leaderboard and total ranked-user count. (Points2LeaderboardResponse) | Field | Type | Description | | --- | --- | --- | | `leaderboard` | Points2LeaderboardEntry[] | Ranked users, highest balance first. | | `total` | integer (int64) | Count of users with a strictly positive balance on this platform (independent of `limit`/`offset` — users with a zero or negative balance are excluded from both this count and the leaderboard). | - `404` No guild matches `guildId`, or `platformId` doesn't match a POINTS platform belonging to it. - `422` `limit` or `offset` is not a valid number. - `429` Rate limit hit. See the Retry-After header. ### Get a user's points balance ``` GET https://api.guild.xyz/v1/guilds/{guildId}/points/{platformId}/users/{userId} ``` Get a single user's current balance on a POINTS platform — the sum of their `point_transaction` ledger rows. Public systems require no authentication; hidden systems require the owning guild's admin access. `userId` isn't checked against any user table: an id with no matching transactions simply returns a balance of 0. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id or url name. string | | `platformId` | path | The POINTS platform id. string (uuid) | | `userId` | path | Guild user id. string (uuid) | **Returns** 200: The user's points balance. (Points2UserPointsResponse) | Field | Type | Description | | --- | --- | --- | | `points` | integer (int64) | The user's current balance on this platform. 0 if they have no transactions — an unknown `userId` isn't distinguished from one with no activity. | - `404` No guild matches `guildId`, or `platformId` doesn't match a POINTS platform belonging to it. - `429` Rate limit hit. See the Retry-After header. ## Users ### Get user ``` GET https://api.guild.xyz/v1/users/{userId} ``` Get a user. This endpoint is not guild-scoped: any valid API key may call it. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string | **Returns** 200: User (UserResponse) | Field | Type | Description | | --- | --- | --- | | `created_at` | string | ISO 8601. | | `id` | string (uuid) | | - `401` Missing or invalid API key. - `404` No such user. - `429` Rate limit hit. See the Retry-After header. ### Get users guild membership ``` GET https://api.guild.xyz/v1/users/{userId}/guilds/{guildId} ``` Get a user's guild membership status. A 404 response means the user is not a member in the guild. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | | `guildId` | path | Guild id or url name. string | **Returns** 200: The user's guild membership. (GuildMembershipResponse) | Field | Type | Description | | --- | --- | --- | | `guild_id` | string (uuid) | | | `joined_at` | string | ISO 8601. | - `401` Missing or invalid API key. - `403` API key not valid for this guild, or no subscription. - `404` The user is not a member of this guild. - `429` Rate limit hit. See the Retry-After header. ### List users role membership ``` GET https://api.guild.xyz/v1/users/{userId}/guilds/{guildId}/roles ``` List a user's role memberships in a guild. A 404 response means the user is not a member in the guild. An empty list means that the user is not a member in any of the guild's roles. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | | `guildId` | path | Guild id or url name. string | | `limit` (optional) | query | Defaults to 5, max 10. integer (int64) | | `offset` (optional) | query | Defaults to 0. integer (int64) | **Returns** 200: The user's role memberships. (RoleMembershipResponse[]) - `401` Missing or invalid API key. - `403` API key not valid for this guild, or no subscription. - `404` The user is not a member of this guild. - `429` Rate limit hit. See the Retry-After header. ### Get user's role membership ``` GET https://api.guild.xyz/v1/users/{userId}/guilds/{guildId}/roles/{roleId} ``` Get a user's role membership in a guild. A 404 response means the user is not a member in the guild, or in the role. **Auth:** API key, as `Authorization: Bearer `. | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. string (uuid) | | `guildId` | path | Guild id or url name. string | | `roleId` | path | Role id. string (uuid) | **Returns** 200: The user's role membership. (RoleMembershipResponse) | Field | Type | Description | | --- | --- | --- | | `role_id` | string (uuid) | | - `401` Missing or invalid API key. - `403` API key not valid for this guild, or no subscription. - `404` The user is not a member of this guild, or of this role. - `429` Rate limit hit. See the Retry-After header. ## Billing ### Create a Stripe Checkout session ``` POST https://api.guild.xyz/v2/billing/checkout-session ``` Creates a Stripe Checkout session for a subscription purchase and returns its redirect URL. When `guildIdLike` is given, the caller must be that guild's owner (or a superadmin) and the session reuses the guild's existing Stripe customer if one exists; a brand-new customer gets a 7-day trial that auto-cancels if no payment method is attached by the end of it. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (BillingCreateCheckoutSessionRequest): | Field | Type | Description | | --- | --- | --- | | `billingPeriod` | string | One of `monthly`, `yearly`. | | `cancelUrl` (optional) | string | Stripe Checkout cancel redirect URL. Same default behavior as `successUrl`. | | `guildIdLike` (optional) | string | Guild id or url name to attach the subscription to. When present, the caller must be that guild's owner (or a superadmin). | | `planId` | string | One of `starter`, `plus`, `growth`. | | `quantity` (optional) | number (double) | Subscription line-item quantity. Must be >= 1. Defaults to 1. | | `successUrl` (optional) | string | Stripe Checkout success redirect URL. Defaults to a Guild-hosted success page (the guild's pricing page when `guildIdLike` is set) when omitted. | **Returns** 200: Checkout session created. (BillingCheckoutSessionResponse) | Field | Type | Description | | --- | --- | --- | | `url` | string | The Stripe Checkout Session URL to redirect the user to. | - `400` Malformed JSON body, or no Stripe price is configured for the requested plan/billing period combination. - `401` Missing or invalid Guild session. - `403` `guildIdLike` was given and the caller is neither the guild's owner nor a superadmin. - `404` `guildIdLike` was given and no such guild exists. - `422` Request body failed validation: missing/invalid planId or billingPeriod, an invalid successUrl/cancelUrl, quantity < 1, or an unrecognized field (the schema is strict). - `429` Rate limit hit. See the Retry-After header. ### Download an invoice PDF ``` GET https://api.guild.xyz/v2/billing/download-invoice/{guildIdLike}/{stripeId} ``` Streams the SzámlaBridge-issued invoice PDF for a given Stripe payment intent as an attachment. Requires the guild's owner (or a superadmin) and verifies that the payment belongs to this guild's billing customer before retrieving the PDF. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. The caller must be this guild's owner (or a superadmin). string | | `stripeId` | path | The Stripe payment intent id (`paymentIntentId` from the payment-intents endpoint) identifying the invoice to download. string | **Returns** 200: The invoice PDF. - `401` Missing or invalid Guild session. - `403` The caller is not this guild's owner (or a superadmin). - `404` No such guild, invalid or unknown payment intent, or the payment does not belong to this guild's billing customer. - `429` Rate limit hit. See the Retry-After header. ### Download an order receipt PDF ``` GET https://api.guild.xyz/v2/billing/orders/receipts/{receiptId} ``` Streams a receipt PDF for the given `receiptId` as an attachment. Authentication is required, but the receipt is looked up by `receiptId` alone — any authenticated caller who has the id can download it, regardless of whether they placed the underlying order. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `receiptId` | path | Billing-service receipt id. string | **Returns** 200: The receipt PDF. - `401` Missing or invalid Guild session. - `404` No receipt exists for this receiptId. - `429` Rate limit hit. See the Retry-After header. ### Verify an onchain order payment ``` POST https://api.guild.xyz/v2/billing/orders/verify ``` Submits an onchain transaction hash to the billing microservice for asynchronous order-payment verification. The `{ ok: true }` response only confirms the submission was accepted, not that the payment itself was verified. **Auth:** your signed-in Guild session (`x-guild-auth-token`). **Body** (BillingVerifyOrderRequest): | Field | Type | Description | | --- | --- | --- | | `chainId` | string | Numeric chain id as a string (e.g. `"1"` for Ethereum mainnet). Must resolve to a chain Guild supports. | | `targetAddress` (optional) | string | The address the payment was sent to, if known. | | `txHash` | string | The onchain transaction hash: `0x` followed by 64 hex characters. Lowercased before use. | | `walletAddress` (optional) | string | The wallet address that sent the transaction, if known. | **Returns** 200: Verification request accepted. (BillingVerifyOrderResponse) | Field | Type | Description | | --- | --- | --- | | `ok` | boolean | Always `true` on success. | - `400` `chainId` does not resolve to a chain Guild supports. - `401` Missing or invalid Guild session. - `422` `chainId` was empty or the wrong type, `txHash` did not match `^0x[0-9a-fA-F]{64}$`, or `walletAddress`/`targetAddress` had the wrong type. - `429` Rate limit hit. See the Retry-After header. ### List a guild's paid invoices ``` GET https://api.guild.xyz/v2/billing/payment-intents/{guildIdLike} ``` Lists the guild's paid Stripe invoices in cursor-paginated order, each enriched with its SzámlaBridge Hungarian e-invoicing status. Restricted to the guild's owner (or a superadmin); the guild must already have an active Stripe subscription. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. The caller must be this guild's owner (or a superadmin). string | | `limit` (optional) | query | Max invoices to return, 1-100. Defaults to 10. integer (int64) | | `starting_after` (optional) | query | Stripe pagination cursor — an invoice id to start after. string | **Returns** 200: Paid invoices for the guild's subscription. (BillingPaymentIntentsResponse) | Field | Type | Description | | --- | --- | --- | | `data` | BillingPaymentIntentSummary[] | | | `has_more` | boolean | Stripe-style cursor pagination flag (snake_case on the wire, mirrors Stripe's own `has_more`) — true if more invoices exist after the last item in `data`. | - `400` The guild has no active Stripe subscription. - `401` Missing or invalid Guild session. - `403` The caller is not this guild's owner (or a superadmin). - `404` No such guild. - `422` `limit` was out of the 1-100 range or not a number, or `starting_after` was not a string. - `429` Rate limit hit. See the Retry-After header. ### Open the Stripe Customer Portal ``` POST https://api.guild.xyz/v2/billing/portal/{guildIdLike} ``` Creates a Stripe Customer Portal session for a guild's existing subscription and returns its redirect URL. Restricted to the guild's owner (or a superadmin). When both `planId` and `billingPeriod` are given, the portal opens directly on a plan-change confirmation screen instead of the general portal. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildIdLike` | path | Guild id or url name. The caller must be this guild's owner (or a superadmin). string | **Body** (object or BillingCustomerPortalRequest): **Returns** 200: Customer Portal session created. (BillingCustomerPortalResponse) | Field | Type | Description | | --- | --- | --- | | `url` | string | The Stripe Customer Portal URL to redirect the user to. | - `400` The guild has no active Stripe subscription, or (when planId/billingPeriod are given) no matching subscription item or Stripe price could be found. - `401` Missing or invalid Guild session. - `403` The caller is not this guild's owner (or a superadmin). - `404` No such guild. - `422` The request body was present but not a valid object, or planId/billingPeriod failed enum validation. - `429` Rate limit hit. See the Retry-After header. ### List a user's orders ``` GET https://api.guild.xyz/v2/billing/users/{userId}/orders ``` Lists a user's paginated orders, resolved from that user's linked EVM wallet addresses (cached for 5 minutes). `userId` must equal the authenticated caller's own id — this cannot be used to look up another user's orders, superadmins included. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `userId` | path | Guild user id. Must equal the authenticated caller's own id. string | | `page` (optional) | query | 1-indexed page number. Defaults to 1. integer (int64) | | `limit` (optional) | query | Page size, 1-100. Defaults to 10. integer (int64) | **Returns** 200: The user's orders. (BillingUserOrdersResponse) | Field | Type | Description | | --- | --- | --- | | `hasMore` | boolean | | | `limit` | integer (int64) | | | `orders` | object[] | Opaque order objects returned by the billing microservice (empty when the user has no linked EVM wallet addresses). | | `page` | integer (int64) | | | `total` | integer (int64) | | - `401` Missing or invalid Guild session. - `403` `userId` does not match the authenticated caller's own id. - `404` The caller's backend user record no longer exists (rare — generally only right after account deletion). - `422` `page` or `limit` was out of range or not a number. - `429` Rate limit hit. See the Retry-After header. ### Handle a Stripe webhook event ``` POST https://api.guild.xyz/v2/billing/webhook ``` Receives Stripe subscription and invoice webhook events. Note the ordering: the body is shape-checked first (a malformed JSON body is a 400, a wrong-typed `type`/`data` a 422 — both before any signature work), then the `stripe-signature` header is required, and only then is the raw payload verified against it with the server's configured webhook secret. Recognized event types update the guild's plan/payment status; any other event type — or one whose subscription metadata has no resolvable `guildIdLike` — is accepted and silently ignored so Stripe won't retry it. Not part of the Guild-session or API-key surface: Stripe is the only intended caller, authenticated by the signature header instead. **Auth:** not declared in the OpenAPI document; endpoint permissions still apply. | Parameter | In | Description | | --- | --- | --- | | `stripe-signature` | header | Stripe webhook HMAC-SHA256 signature header, e.g. `t=,v1=`. Checked only after the body has been shape-validated; a missing or empty header then short-circuits with 400, before the configured webhook secret is even read. string | **Body** (BillingStripeWebhookRequest): | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object | The Stripe event's `data` wrapper (`{ object: ... }`), passed through as-is. | | `type` (optional) | string | The Stripe event type, e.g. `customer.subscription.updated`. Event types other than the handful this handler acts on are accepted and ignored. | **Returns** 200: Event processed, or safely ignored (e.g. an event type this handler doesn't act on, or metadata that couldn't be resolved to a guild). (BillingStripeWebhookResponse) | Field | Type | Description | | --- | --- | --- | | `received` | boolean | Always `true` on success. | - `400` Malformed JSON body, a missing/empty stripe-signature header, a failed signature verification, or the webhook secret isn't configured server-side. - `422` The body parsed as JSON but was not an object, or `type` or `data` had the wrong shape. ## Voting ### List a guild's proposals ``` GET https://api.guild.xyz/voting/guild/{guildId} ``` The guild's proposals, newest closing time first, 100 per page (`cursor` pages on), with what the caller may do in the guild. Public: signed-out visitors read too. A cancelled proposal appears only under `status=all` (the default). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | | `status` (optional) | query | `active`, `upcoming`, `closed` or `all` (default). string | | `cursor` (optional) | query | `nextCursor` of the previous page. string | **Returns** 200: `{ proposals, viewer, nextCursor }`. (VotingProposalList) | Field | Type | Description | | --- | --- | --- | | `nextCursor` (optional) | string | Pass as `cursor` for the next page; `null` on the last page. | | `proposals` | VotingProposalSummary[] | | | `viewer` | VotingViewer | What the viewer may do in the guild (`Viewer`). | - `400` Unknown `status` or bad `cursor` (`INVALID_PROPOSAL`). - `404` No such guild. - `503` The voting tables are not applied yet (`VOTING_UNAVAILABLE`). ### Create a proposal ``` POST https://api.guild.xyz/voting/guild/{guildId}/proposals ``` Guild admins and owners, and members holding a `VOTING` reward with `canPropose`. `opensAt` defaults to now; voting stays open 1 hour to 90 days. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `guildId` | path | Guild id (UUID). string | **Body** (VotingProposalInput): | Field | Type | Description | | --- | --- | --- | | `body` (optional) | string | Markdown, at most 20,000 characters. | | `choices` (optional) | string[] | 2-10 labels of 1-120 characters, unique ignoring case. | | `closesAt` (optional) | string | ISO 8601; 1 hour to 90 days after `opensAt`. Required on create. | | `eligibleRewardIds` (optional) | string[] | `VOTING` rewards of the guild whose weight counts, or `null` for all. | | `method` (optional) | string | `SINGLE` (default) or `APPROVAL`. | | `opensAt` (optional) | string | ISO 8601; defaults to now on create. Up to 5 minutes in the past counts as now; anything older is refused. | | `quorum` (optional) | integer (int64) | A positive summed weight, or `null` for no quorum. | | `resultsVisibility` (optional) | string | `LIVE` (default) or `AFTER_CLOSE`. | | `title` (optional) | string | 1-200 characters. | **Returns** 201: The `Proposal`. (VotingProposal) | Field | Type | Description | | --- | --- | --- | | `author` | object | `{ name, avatarUrl }`; `name` is `null` only for a deleted account. | | `authorId` | string (uuid) | | | `body` | string | Markdown. | | `cancelledAt` (optional) | string | | | `choices` | object[] | `[{ id, label }]`, ids stable across edits of an upcoming proposal. | | `closesAt` | string | | | `createdAt` | string | | | `eligibleRewardIds` (optional) | string[] | `null` counts every `VOTING` reward of the guild. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `leading` (optional) | object | `{ choiceId, label, weight }`: the top choice (first by choice order on a tie); `null` while results are hidden or with no votes. | | `method` | string | | | `opensAt` | string | | | `outcome` (optional) | object | `{ quorumReached, winners }`, only when `CLOSED`. | | `quorum` (optional) | integer (int64) | | | `resultsVisibility` | string | `LIVE` or `AFTER_CLOSE`. | | `resultsVisible` | boolean | | | `status` | string | | | `tally` (optional) | object[] | `[{ choiceId, weight, voters }]`, `null` while results are hidden. | | `title` | string | | | `totalWeight` (optional) | integer (int64) | | | `updatedAt` | string | | | `viewer` | object | The viewer fields plus `eligiblePower`, `vote`, `canVote`, `canEdit`, `canCancel` and `canDelete`. | | `viewerChoiceIds` (optional) | string[] | | | `voterCount` | integer (int64) | | - `400` `INVALID_PROPOSAL`. - `401` Signed out. - `403` The caller may not propose. - `404` No such guild. - `503` `VOTING_UNAVAILABLE`. ### Delete a proposal ``` DELETE https://api.guild.xyz/voting/proposals/{proposalId} ``` Guild admins only, while the proposal is `UPCOMING` or `CANCELLED`. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `proposalId` | path | Proposal id (UUID). string | **Returns** 204: Deleted. - `401` Signed out. - `403` Not a guild admin. - `404` No such proposal. - `409` It is active or closed (`PROPOSAL_LOCKED`). - `503` `VOTING_UNAVAILABLE`. ### Get a proposal ``` GET https://api.guild.xyz/voting/proposals/{proposalId} ``` The proposal with its choices, tally (when visible), outcome (when closed) and what the caller may do with it. Public. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `proposalId` | path | Proposal id (UUID). string | **Returns** 200: The `Proposal`. (VotingProposal) | Field | Type | Description | | --- | --- | --- | | `author` | object | `{ name, avatarUrl }`; `name` is `null` only for a deleted account. | | `authorId` | string (uuid) | | | `body` | string | Markdown. | | `cancelledAt` (optional) | string | | | `choices` | object[] | `[{ id, label }]`, ids stable across edits of an upcoming proposal. | | `closesAt` | string | | | `createdAt` | string | | | `eligibleRewardIds` (optional) | string[] | `null` counts every `VOTING` reward of the guild. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `leading` (optional) | object | `{ choiceId, label, weight }`: the top choice (first by choice order on a tie); `null` while results are hidden or with no votes. | | `method` | string | | | `opensAt` | string | | | `outcome` (optional) | object | `{ quorumReached, winners }`, only when `CLOSED`. | | `quorum` (optional) | integer (int64) | | | `resultsVisibility` | string | `LIVE` or `AFTER_CLOSE`. | | `resultsVisible` | boolean | | | `status` | string | | | `tally` (optional) | object[] | `[{ choiceId, weight, voters }]`, `null` while results are hidden. | | `title` | string | | | `totalWeight` (optional) | integer (int64) | | | `updatedAt` | string | | | `viewer` | object | The viewer fields plus `eligiblePower`, `vote`, `canVote`, `canEdit`, `canCancel` and `canDelete`. | | `viewerChoiceIds` (optional) | string[] | | | `voterCount` | integer (int64) | | - `404` No such proposal. - `503` `VOTING_UNAVAILABLE`. ### Edit a proposal ``` PATCH https://api.guild.xyz/voting/proposals/{proposalId} ``` The author or a guild admin, only while the proposal is `UPCOMING`. Fields left out stay as they are; `quorum` and `eligibleRewardIds` accept `null` to clear. A choice whose label is unchanged keeps its id. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `proposalId` | path | Proposal id (UUID). string | **Body** (VotingProposalInput): | Field | Type | Description | | --- | --- | --- | | `body` (optional) | string | Markdown, at most 20,000 characters. | | `choices` (optional) | string[] | 2-10 labels of 1-120 characters, unique ignoring case. | | `closesAt` (optional) | string | ISO 8601; 1 hour to 90 days after `opensAt`. Required on create. | | `eligibleRewardIds` (optional) | string[] | `VOTING` rewards of the guild whose weight counts, or `null` for all. | | `method` (optional) | string | `SINGLE` (default) or `APPROVAL`. | | `opensAt` (optional) | string | ISO 8601; defaults to now on create. Up to 5 minutes in the past counts as now; anything older is refused. | | `quorum` (optional) | integer (int64) | A positive summed weight, or `null` for no quorum. | | `resultsVisibility` (optional) | string | `LIVE` (default) or `AFTER_CLOSE`. | | `title` (optional) | string | 1-200 characters. | **Returns** 200: The `Proposal`. (VotingProposal) | Field | Type | Description | | --- | --- | --- | | `author` | object | `{ name, avatarUrl }`; `name` is `null` only for a deleted account. | | `authorId` | string (uuid) | | | `body` | string | Markdown. | | `cancelledAt` (optional) | string | | | `choices` | object[] | `[{ id, label }]`, ids stable across edits of an upcoming proposal. | | `closesAt` | string | | | `createdAt` | string | | | `eligibleRewardIds` (optional) | string[] | `null` counts every `VOTING` reward of the guild. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `leading` (optional) | object | `{ choiceId, label, weight }`: the top choice (first by choice order on a tie); `null` while results are hidden or with no votes. | | `method` | string | | | `opensAt` | string | | | `outcome` (optional) | object | `{ quorumReached, winners }`, only when `CLOSED`. | | `quorum` (optional) | integer (int64) | | | `resultsVisibility` | string | `LIVE` or `AFTER_CLOSE`. | | `resultsVisible` | boolean | | | `status` | string | | | `tally` (optional) | object[] | `[{ choiceId, weight, voters }]`, `null` while results are hidden. | | `title` | string | | | `totalWeight` (optional) | integer (int64) | | | `updatedAt` | string | | | `viewer` | object | The viewer fields plus `eligiblePower`, `vote`, `canVote`, `canEdit`, `canCancel` and `canDelete`. | | `viewerChoiceIds` (optional) | string[] | | | `voterCount` | integer (int64) | | - `400` `INVALID_PROPOSAL`. - `401` Signed out. - `403` Neither the author nor an admin. - `404` No such proposal. - `409` It already opened (`PROPOSAL_LOCKED`). - `503` `VOTING_UNAVAILABLE`. ### Cancel a proposal ``` POST https://api.guild.xyz/voting/proposals/{proposalId}/cancel ``` The author or a guild admin, while the proposal is `UPCOMING` or `ACTIVE`. Votes are kept. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `proposalId` | path | Proposal id (UUID). string | **Returns** 200: The `Proposal`. (VotingProposal) | Field | Type | Description | | --- | --- | --- | | `author` | object | `{ name, avatarUrl }`; `name` is `null` only for a deleted account. | | `authorId` | string (uuid) | | | `body` | string | Markdown. | | `cancelledAt` (optional) | string | | | `choices` | object[] | `[{ id, label }]`, ids stable across edits of an upcoming proposal. | | `closesAt` | string | | | `createdAt` | string | | | `eligibleRewardIds` (optional) | string[] | `null` counts every `VOTING` reward of the guild. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `leading` (optional) | object | `{ choiceId, label, weight }`: the top choice (first by choice order on a tie); `null` while results are hidden or with no votes. | | `method` | string | | | `opensAt` | string | | | `outcome` (optional) | object | `{ quorumReached, winners }`, only when `CLOSED`. | | `quorum` (optional) | integer (int64) | | | `resultsVisibility` | string | `LIVE` or `AFTER_CLOSE`. | | `resultsVisible` | boolean | | | `status` | string | | | `tally` (optional) | object[] | `[{ choiceId, weight, voters }]`, `null` while results are hidden. | | `title` | string | | | `totalWeight` (optional) | integer (int64) | | | `updatedAt` | string | | | `viewer` | object | The viewer fields plus `eligiblePower`, `vote`, `canVote`, `canEdit`, `canCancel` and `canDelete`. | | `viewerChoiceIds` (optional) | string[] | | | `voterCount` | integer (int64) | | - `401` Signed out. - `403` Neither the author nor an admin. - `404` No such proposal. - `409` Already closed or cancelled (`PROPOSAL_NOT_OPEN`). - `503` `VOTING_UNAVAILABLE`. ### Withdraw a vote ``` DELETE https://api.guild.xyz/voting/proposals/{proposalId}/vote ``` While the proposal is `ACTIVE`. Withdrawing when the caller has not voted changes nothing. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `proposalId` | path | Proposal id (UUID). string | **Returns** 200: The `Proposal`. (VotingProposal) | Field | Type | Description | | --- | --- | --- | | `author` | object | `{ name, avatarUrl }`; `name` is `null` only for a deleted account. | | `authorId` | string (uuid) | | | `body` | string | Markdown. | | `cancelledAt` (optional) | string | | | `choices` | object[] | `[{ id, label }]`, ids stable across edits of an upcoming proposal. | | `closesAt` | string | | | `createdAt` | string | | | `eligibleRewardIds` (optional) | string[] | `null` counts every `VOTING` reward of the guild. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `leading` (optional) | object | `{ choiceId, label, weight }`: the top choice (first by choice order on a tie); `null` while results are hidden or with no votes. | | `method` | string | | | `opensAt` | string | | | `outcome` (optional) | object | `{ quorumReached, winners }`, only when `CLOSED`. | | `quorum` (optional) | integer (int64) | | | `resultsVisibility` | string | `LIVE` or `AFTER_CLOSE`. | | `resultsVisible` | boolean | | | `status` | string | | | `tally` (optional) | object[] | `[{ choiceId, weight, voters }]`, `null` while results are hidden. | | `title` | string | | | `totalWeight` (optional) | integer (int64) | | | `updatedAt` | string | | | `viewer` | object | The viewer fields plus `eligiblePower`, `vote`, `canVote`, `canEdit`, `canCancel` and `canDelete`. | | `viewerChoiceIds` (optional) | string[] | | | `voterCount` | integer (int64) | | - `401` Signed out. - `404` No such proposal. - `409` Not open (`PROPOSAL_NOT_OPEN`). - `503` `VOTING_UNAVAILABLE`. ### Cast or change a vote ``` PUT https://api.guild.xyz/voting/proposals/{proposalId}/vote ``` While the proposal is `ACTIVE`. The latest vote replaces the previous one. The weight is the caller's voting power at this moment and is stored on the vote. **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `proposalId` | path | Proposal id (UUID). string | **Body** (VotingVoteInput): | Field | Type | Description | | --- | --- | --- | | `choiceIds` | string[] | Exactly one id for `SINGLE`, one or more for `APPROVAL`. | **Returns** 200: The `Proposal`, with the caller's vote. (VotingProposal) | Field | Type | Description | | --- | --- | --- | | `author` | object | `{ name, avatarUrl }`; `name` is `null` only for a deleted account. | | `authorId` | string (uuid) | | | `body` | string | Markdown. | | `cancelledAt` (optional) | string | | | `choices` | object[] | `[{ id, label }]`, ids stable across edits of an upcoming proposal. | | `closesAt` | string | | | `createdAt` | string | | | `eligibleRewardIds` (optional) | string[] | `null` counts every `VOTING` reward of the guild. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `leading` (optional) | object | `{ choiceId, label, weight }`: the top choice (first by choice order on a tie); `null` while results are hidden or with no votes. | | `method` | string | | | `opensAt` | string | | | `outcome` (optional) | object | `{ quorumReached, winners }`, only when `CLOSED`. | | `quorum` (optional) | integer (int64) | | | `resultsVisibility` | string | `LIVE` or `AFTER_CLOSE`. | | `resultsVisible` | boolean | | | `status` | string | | | `tally` (optional) | object[] | `[{ choiceId, weight, voters }]`, `null` while results are hidden. | | `title` | string | | | `totalWeight` (optional) | integer (int64) | | | `updatedAt` | string | | | `viewer` | object | The viewer fields plus `eligiblePower`, `vote`, `canVote`, `canEdit`, `canCancel` and `canDelete`. | | `viewerChoiceIds` (optional) | string[] | | | `voterCount` | integer (int64) | | - `400` `INVALID_CHOICE`. - `401` Signed out. - `403` No voting power for this proposal (`NO_VOTING_POWER`). - `404` No such proposal. - `409` Not open (`PROPOSAL_NOT_OPEN`). - `503` `VOTING_UNAVAILABLE`. ### List the votes of a proposal ``` GET https://api.guild.xyz/voting/proposals/{proposalId}/votes ``` Who voted, for what and with what weight, heaviest first, 50 per page. Votes are public. Refused while the results are hidden (`AFTER_CLOSE` and not yet closed). **Auth:** your signed-in Guild session (`x-guild-auth-token`). | Parameter | In | Description | | --- | --- | --- | | `proposalId` | path | Proposal id (UUID). string | | `cursor` (optional) | query | `nextCursor` of the previous page. string | **Returns** 200: `{ votes, nextCursor }`. (VotingVotePage) | Field | Type | Description | | --- | --- | --- | | `nextCursor` (optional) | string | | | `votes` | VotingVote[] | | - `400` Bad `cursor` (`INVALID_PROPOSAL`). - `403` Results are hidden. - `404` No such proposal. - `503` `VOTING_UNAVAILABLE`. ## Types ### AccessClaimRolesResponse | Field | Type | Description | | --- | --- | --- | | `claimedRoles` | AccessClaimedRoleEntry[] | | | `grantedPermissionRewardIds` (optional) | string[] | Present only when the claim cascaded into granting one or more PERMISSION (visibility) rewards, e.g. unlocking a secret role or page. | | `message` | string | e.g. "Roles claimed successfully". | | `success` | boolean | | ### AccessClaimedRoleEntry | Field | Type | Description | | --- | --- | --- | | `roleId` | string (uuid) | The claimed role's id — the only guaranteed member. When the claim produced a protocol join response, its fields (shape varies by the role's requirements) are spread directly onto this object; they are not enumerated here. A skipped entry has `roleId` and nothing else. | ### AccessJoinGuildResponse | Field | Type | Description | | --- | --- | --- | | `message` | string | e.g. "Joined guild successfully" or "User is already a member of this guild". | | `success` | boolean | | ### AccessLeaveGuildResponse | Field | Type | Description | | --- | --- | --- | | `message` | string | | | `success` | boolean | | ### AccessRolePageRef | Field | Type | Description | | --- | --- | --- | | `id` | string (uuid) | | ### AgentsClientRegistrationResponse | Field | Type | Description | | --- | --- | --- | | `client_id` | string (uuid) | | | `client_id_issued_at` | integer (int64) | Unix seconds. | | `client_name` | string | | | `client_uri` (optional) | string | | | `grant_types` | string[] | `["authorization_code", "refresh_token"]`. | | `logo_uri` (optional) | string | | | `redirect_uris` | string[] | | | `response_types` | string[] | `["code"]`. | | `token_endpoint_auth_method` | string | `none`. | ### AgentsCreateTokenResponse | Field | Type | Description | | --- | --- | --- | | `grant` | AgentsGrant | An agent connection (OAuth) or personal access token. | | `token` | string | The `gpat_` token. Shown once; only its hash is kept. | ### AgentsGrantResponse | Field | Type | Description | | --- | --- | --- | | `grant` | AgentsGrant | An agent connection (OAuth) or personal access token. | ### AgentsRedirectResponse | Field | Type | Description | | --- | --- | --- | | `redirectTo` | string | The client's `redirect_uri` with `code` (approve) or `error=access_denied` and `error_description` (deny), plus `state` when the client sent one and `iss`. | ### AgentsTokenExchangeResponse | Field | Type | Description | | --- | --- | --- | | `access_token` | string | A `gxt_` token for `x-guild-agent-token`. | | `expires_in` | integer (int64) | At most 300, and never past the subject token's expiry. | | `guild_agent` | AgentsExchangedGrant | The grant behind an exchanged token. | | `issued_token_type` | string | `urn:ietf:params:oauth:token-type:access_token`. | | `scope` | string | Space-separated scopes of the grant. | | `token_type` | string | `Bearer`. | ### AgentsTokenPairResponse | Field | Type | Description | | --- | --- | --- | | `access_token` | string | A `gat_` token for the MCP server. | | `expires_in` | integer (int64) | 3600. | | `refresh_token` | string | A `grt_` token, valid 30 days and rotated on every use. | | `scope` | string | Space-separated scopes of the grant. | | `token_type` | string | `Bearer`. | ### AgentsTokenResponse ### AnalyticsGuildActivityHeatmapResponse | Field | Type | Description | | --- | --- | --- | | `activities` | AnalyticsGuildActivityHeatmapBucket[] | | ### AnalyticsGuildActivitySummaryResponse | Field | Type | Description | | --- | --- | --- | | `pointsSum` | integer (int64) | Total POINTS granted (`grant_points` events) in range. | | `summaries` | AnalyticsGuildActivitySummaryItem[] | | ### AnalyticsGuildActivityTimeSeriesResponse | Field | Type | Description | | --- | --- | --- | | `buckets` | AnalyticsGuildActivityTimeSeriesBucket[] | | ### AnalyticsGuildEventsResponse | Field | Type | Description | | --- | --- | --- | | `events` | AnalyticsGuildEvent[] | | | `hasMore` | boolean | `true` if more rows exist beyond `limit`. | | `limit` | integer (int64) | The effective `limit` that was applied. | ### AnalyticsGuildMembersResponse | Field | Type | Description | | --- | --- | --- | | `snapshots` | AnalyticsGuildMemberSnapshot[] | | ### AnalyticsGuildPageViewsResponse | Field | Type | Description | | --- | --- | --- | | `snapshots` | AnalyticsGuildPageViewSnapshot[] | | ### AnalyticsGuildRewardClaimsResponse | Field | Type | Description | | --- | --- | --- | | `rewards` | AnalyticsRewardClaimCount[] | | | `uniqueClaimers` | integer (int64) | | ### AnalyticsGuildRolesResponse | Field | Type | Description | | --- | --- | --- | | `roles` | AnalyticsGuildRoleSnapshot[] | | ### AnalyticsProfileEventIdentity | Field | Type | Description | | --- | --- | --- | | `id` | string | | | `type` | string | e.g. `DISCORD`, `EVM`, `X`, `FARCASTER`. | ### AnalyticsRewardSearchResponse | Field | Type | Description | | --- | --- | --- | | `pagination` | AnalyticsRewardSearchPagination | The `pagination` field of `GET /analytics/rewards`. | | `rewards` | AnalyticsRewardSearchItem[] | | | `total` | integer (int64) | | ### AnalyticsUserActivityHeatmapResponse | Field | Type | Description | | --- | --- | --- | | `activities` | AnalyticsActivityHeatmapDay[] | | ### AnalyticsUserProfileResponse | Field | Type | Description | | --- | --- | --- | | `events` | AnalyticsProfileEvent[] | | ### ApiKeysHintResponse | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `createdBy` | string (uuid) | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `key` | string | The key's first and last 3 characters, e.g. `"a1b...9f2"` — or `"undefined...undefined"` for a row with no stored key value. | | `name` (optional) | string | May be `null` (e.g. for a key created with an explicit `name: null`). | | `permissions` (optional) | string[] | | ### ApiKeysKeyResponse | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `createdBy` | string (uuid) | Id of the user who created the key. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `key` | string (uuid) | The raw key value — send this as `Authorization: Bearer ` on v1 API requests. | | `name` (optional) | string | `null` only if the create request explicitly sent `name: null`. | | `permissions` (optional) | string[] | See [`ApiKeysCreateRequest::permissions`]. `null` only if the create request explicitly sent `permissions: null`. | ### AuditLogActorResponse | Field | Type | Description | | --- | --- | --- | | `avatarUrl` (optional) | string | Profile avatar URL, or `null`. | | `displayName` (optional) | string | Profile display name, falling back to the primary identity's platform handle; `null` if neither is set. | | `id` | string (uuid) | | | `primaryIdentity` (optional) | object or AuditLogPrimaryIdentityResponse | | ### AuditLogEntryResponse | Field | Type | Description | | --- | --- | --- | | `action` | string | Action identifier in `resource.verb` form, e.g. `"guild.update"`, `"role.delete"`, `"admin_panel.enter"`, `"reward.grant"`. | | `actor` (optional) | object or AuditLogActorResponse | | | `actorId` (optional) | string (uuid) | The user who triggered the event. `null` for system-initiated events. | | `createdAt` | string | Postgres `timestamptz` text form, e.g. `"2026-07-27 09:14:03.123456+00"` — space-separated with a `+00` offset, not the `T`-separated ISO 8601 form. | | `id` | string (uuid) | | | `metadata` (optional) | object | Free-form event metadata, e.g. `{ "guildId": "..." }`. Shape depends on `action`. | | `resourceId` (optional) | string | Id of the affected resource. `null` when the action has no single associated resource. Not always a UUID — the shape depends on `resourceType`. | | `resourceType` | string | Resource type the action was performed on, e.g. `"guild"`, `"role"`, `"api_key"`, `"reward"`. | ### AuditLogPrimaryIdentityResponse | Field | Type | Description | | --- | --- | --- | | `platform` | string | Identity platform, e.g. `"DISCORD"`, `"X"`, `"EVM"`. | | `platformUniqueName` | string | The identity's platform-specific handle, username, or address. | ### BillingCheckoutSessionResponse | Field | Type | Description | | --- | --- | --- | | `url` | string | The Stripe Checkout Session URL to redirect the user to. | ### BillingCustomerPortalResponse | Field | Type | Description | | --- | --- | --- | | `url` | string | The Stripe Customer Portal URL to redirect the user to. | ### BillingPaymentIntentsResponse | Field | Type | Description | | --- | --- | --- | | `data` | BillingPaymentIntentSummary[] | | | `has_more` | boolean | Stripe-style cursor pagination flag (snake_case on the wire, mirrors Stripe's own `has_more`) — true if more invoices exist after the last item in `data`. | ### BillingStripeWebhookResponse | Field | Type | Description | | --- | --- | --- | | `received` | boolean | Always `true` on success. | ### BillingUserOrdersResponse | Field | Type | Description | | --- | --- | --- | | `hasMore` | boolean | | | `limit` | integer (int64) | | | `orders` | object[] | Opaque order objects returned by the billing microservice (empty when the user has no linked EVM wallet addresses). | | `page` | integer (int64) | | | `total` | integer (int64) | | ### BillingVerifyOrderResponse | Field | Type | Description | | --- | --- | --- | | `ok` | boolean | Always `true` on success. | ### CampaignAnalyticsResponse | Field | Type | Description | | --- | --- | --- | | `campaigns` | CampaignAnalytics[] | | | `dataSource` | string | | | `generatedAt` | string | | | `guildId` | string | | | `limits` | CampaignLimits | | | `notes` | string[] | | | `period` | CampaignPeriod | | ### ChainResponse | Field | Type | Description | | --- | --- | --- | | `alchemyApiBaseUrl` (optional) | string | | | `blockExplorer` | ChainBlockExplorer | A block explorer entry (`Chain["blockExplorer"]`). | | `chainId` | integer (int64) | | | `coingeckoId` (optional) | string | | | `contracts` | ChainContracts | `Chain["contracts"]`. | | `id` | string | The chain's string id, e.g. `"ETHEREUM"` or `"POLYGON"` — this is what `GET /chains/{id}` looks up by, not `chainId`. | | `image` | string | | | `integrations` (optional) | object or ChainIntegrations | | | `name` | string | | | `nativeCurrency` | ChainNativeCurrency | A chain's native gas currency (`Chain["nativeCurrency"]`). | | `openseaItemBaseUrl` (optional) | string | | | `privateRpcUrl` (optional) | string | Present only for chains with a dedicated private RPC endpoint. | | `rpcNodes` (optional) | ChainRpcNode[] | Additive alongside `rpcUrls`. Omitted when the chain has no ether-proxy RPC overrides. | | `rpcUrls` | string[] | Always non-empty. | | `testnet` | boolean | | ### ComplianceDeleteResponse | Field | Type | Description | | --- | --- | --- | | `deleted` | boolean | Always `true`. | | `guildIds` | string (uuid)[] | Ids of the guilds the user had a membership in (not guilds they owned — owning any guild blocks the delete with a 409). Each guild's membership row, and the guild/role member counts, were removed as part of this delete. | | `retainedRecords` | string[] | Always `["audit_log", "billing"]` — the categories of data that are deliberately retained rather than deleted. | | `userId` | string (uuid) | The deleted user's backend id. | ### CrmExportsRecentResponse | Field | Type | Description | | --- | --- | --- | | `exports` | CrmRecentExport[] | | ### CrmIdentity | Field | Type | Description | | --- | --- | --- | | `id` | string | Deterministic `"{platform}-{platformUserId}"` id (e.g. `"DISCORD-1234567890"`) — not a UUID. | | `platform` | string | e.g. `"DISCORD"`, `"X"`, `"EVM"`, `"EMAIL"`, `"FARCASTER"`, `"GOOGLE"`. | | `platformUniqueName` | string | | | `shouldReauth` | boolean | | | `type` | string | e.g. `"OAUTH2"`, `"OAUTH1A"`, `"WALLET"`, `"EMAIL"`, `"FARCASTER"`, `"TELEGRAM"`. | | `userData` | object | Platform-specific profile data. | ### Forms2AnswerResponse | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formFieldId` | string (uuid) | | | `formSubmissionId` | string (uuid) | | | `updatedAt` (optional) | string | ISO 8601. | | `value` | string | | ### Forms2FieldResponse | Field | Type | Description | | --- | --- | --- | | `createdAt` (optional) | string | ISO 8601. | | `formPageId` | string (uuid) | | | `helpText` (optional) | string | | | `id` | string (uuid) | | | `index` | integer (int32) | | | `options` (optional) | object | Free-form JSON; by convention shaped by `type` (e.g. `allowed_types` for FILE_UPLOAD, `choices`/`allow_other` for SINGLE_CHOICE / MULTIPLE_CHOICE / DROPDOWN, `worst_label`/`best_label`/`steps` for RATE, `platform` for IDENTITY) but the API accepts any JSON value here — the shape is not enforced server-side. | | `placeholder` (optional) | string | | | `question` | string | | | `required` (optional) | boolean | | | `type` | Forms2FormFieldType | `form_field.type` — determines how `options` on the field is shaped and how the client should render the input. | | `updatedAt` (optional) | string | ISO 8601. | ### Forms2FormResponse | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` | boolean | Whether a confirmation email is sent to the submitter's email identity on submission. | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `editable` | boolean | | | `endTime` (optional) | string | ISO 8601. Submissions are rejected after this time. | | `guildId` | string (uuid) | | | `id` | string | Form id — a caller-chosen or server-generated slug, not necessarily a UUID. | | `image` (optional) | string | | | `rewardId` (optional) | string (uuid) | Id of the linked FORM2 reward granted on approved submissions, if any. | | `startTime` (optional) | string | ISO 8601. Submissions are rejected before this time. | | `state` | Forms2FormState | `form.state` — a form only accepts submissions while `ACTIVE`. | | `submissionLimit` | integer (int32) | Maximum active (non-rejected) submissions allowed per user; the limit is only enforced when this is greater than 0. | | `title` | string | | | `updatedAt` (optional) | string | ISO 8601. | | `urlName` (optional) | string | | ### Forms2FormWithFieldsResponse | Field | Type | Description | | --- | --- | --- | | `confirmationEmail` | boolean | | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | | | `description` (optional) | string | | | `editable` | boolean | | | `endTime` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string | | | `image` (optional) | string | | | `pages` | Forms2PageWithFieldsResponse[] | | | `rewardId` (optional) | string (uuid) | | | `startTime` (optional) | string | | | `state` | Forms2FormState | `form.state` — a form only accepts submissions while `ACTIVE`. | | `submissionLimit` | integer (int32) | | | `title` | string | | | `updatedAt` (optional) | string | | | `urlName` (optional) | string | | ### Forms2OverviewResponse ### Forms2PageResponse | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `formId` | string | Owning form id. | | `id` | string (uuid) | | | `index` | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | Field id that must be answered a specific way before this page unlocks, if this page is gated. | | `unlockValue` (optional) | string | The answer value required on `unlockFieldId` to unlock this page. | | `updatedAt` (optional) | string | ISO 8601. | ### Forms2PageWithFieldsResponse | Field | Type | Description | | --- | --- | --- | | `coverImage` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `description` (optional) | string | | | `fields` | Forms2FieldResponse[] | | | `formId` | string | | | `id` | string (uuid) | | | `index` | integer (int32) | | | `title` (optional) | string | | | `unlockFieldId` (optional) | string (uuid) | | | `unlockValue` (optional) | string | | | `updatedAt` (optional) | string | ISO 8601. | ### Forms2SheetsExportResponse | Field | Type | Description | | --- | --- | --- | | `url` | string | URL of the Google Sheet the submissions were exported to. | ### Forms2SubmissionResponse | Field | Type | Description | | --- | --- | --- | | `answers` | Forms2AnswerResponse[] | | | `confirmationEmailIdentityId` (optional) | string | | | `createdAt` (optional) | string | ISO 8601. | | `formId` | string | | | `id` | string (uuid) | | | `reviewNote` (optional) | string | | | `reviewedAt` (optional) | string | ISO 8601. | | `reviewedBy` (optional) | string (uuid) | Id of the admin who approved/rejected this submission, if reviewed. | | `status` | Forms2FormSubmissionStatus | `form_submission.status`. | | `updatedAt` (optional) | string | ISO 8601. | | `userId` | string (uuid) | | ### GuildMembershipResponse | Field | Type | Description | | --- | --- | --- | | `guild_id` | string (uuid) | | | `joined_at` | string | ISO 8601. | ### GuildProfileEntry | Field | Type | Description | | --- | --- | --- | | `avatarUrl` (optional) | string | | | `guildId` | string | | | `nickname` (optional) | string | | ### GuildsGuildEntry | Field | Type | Description | | --- | --- | --- | | `data` (optional) | string | A role id for `gated`, a url for `private`, `null` for `open`. | | `type` | string | One of `open`, `private`, `gated`. | ### GuildsGuildPageRef | Field | Type | Description | | --- | --- | --- | | `id` | string (uuid) | | ### GuildsPermissions | Field | Type | Description | | --- | --- | --- | | `read` (optional) | string (uuid) | | | `write` (optional) | string (uuid) | | ### MemberTimelineActivityResponse | Field | Type | Description | | --- | --- | --- | | `endDate` | string | | | `events` | MemberTimelineActivityEvent[] | Newest first. | | `nextCursor` (optional) | string | Opaque cursor ordered by millisecond timestamp plus recording key. Null after the last page, determined with one extra matching recording. | | `startDate` | string | | ### MemberTimelineActorIdentity | Field | Type | Description | | --- | --- | --- | | `platform` | string | e.g. `"DISCORD"`, `"X"`, `"EVM"`. | | `platformUniqueName` | string | | ### MemberTimelineResponse | Field | Type | Description | | --- | --- | --- | | `events` | MemberTimelineEvent[] | Newest first. | | `nextCursor` (optional) | string | `string \| null` — always emitted. An ISO 8601 timestamp to pass as the next page's `cursor`; `null` once fewer than `limit` events were returned (no further pages). | ### NotificationStreamIdentity | Field | Type | Description | | --- | --- | --- | | `guildIds` | string[] | Guilds the member belongs to; the gateway delivers guild-wide announcements only to sockets whose list contains the guild. | | `userId` | string (uuid) | | ### OperationalHealthResponse | Field | Type | Description | | --- | --- | --- | | `pg` | OperationalHealthPgStats | `pg` field of [`OperationalHealthResponse`] — a snapshot of the shared `sqlx::PgPool` used by this replica. | | `recentErrors` | OperationalHealthRecentError[] | 5xx errors recorded by this process in the last 5 minutes, sorted by `count` descending. | | `warnings` | string[] | Human-readable capacity warnings. Empty when the pool has no waiting clients and is below 90% of `maxConnections`. | ### PagesAudienceResponse | Field | Type | Description | | --- | --- | --- | | `mode` | string | `PUBLIC`, `UNLOCKABLE` or `HIDDEN`. | | `role_ids` | string (uuid)[] | The roles that open the page; empty unless `mode` is `UNLOCKABLE`. | ### PagesPageResponse | Field | Type | Description | | --- | --- | --- | | `coverOpacity` (optional) | number (double) | | | `coverUrl` (optional) | string | | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Only set for pages migrated from the legacy platform. | | `logoUrl` (optional) | string | | | `name` | string | | | `permissions` | PagesPermissions | The `read`/`write` PERMISSION-reward role ids gating a page, or `null` when that action is unrestricted. | | `roleLayout` (optional) | object | See `PagesCreateRequest.roleLayout` for the shape. Only present when the page (or the last update to touch it) set one. | | `roles` | PagesRoleRef[] | | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `urlName` | string | | | `visibility` (optional) | string | Computed visibility (`PUBLIC`, `HIDDEN`, or `UNLOCKABLE`). Present on read/list responses; omitted from the create response. | ### PagesPermissions | Field | Type | Description | | --- | --- | --- | | `read` (optional) | string (uuid) | | | `write` (optional) | string (uuid) | | ### PinCidResponse | Field | Type | Description | | --- | --- | --- | | `cid` | string | IPFS CID of the Pin preview image, generated (and Redis-cached for 24h) the first time it's requested for this guild/`guildAction` pair. | ### PinClaimResponse | Field | Type | Description | | --- | --- | --- | | `adminFee` | string | Always `"0"` today — see `adminTreasury`. | | `adminTreasury` | string | Always the zero address today — the contract supports an admin treasury cut, but it is unused. | | `chainId` | integer (int64) | EVM chain id the Guild Pin contract is deployed on. | | `cid` | string | IPFS CID of the Pin image. | | `contractAddress` | string | `0x`-prefixed Guild Pin contract address on `chainId`. | | `createdAt` | integer (int64) | Unix seconds the claimed action occurred (join time for `JOINED_GUILD`/`IS_ADMIN`, guild creation time for `IS_OWNER`). | | `guildAction` | string | The claimed action: one of `JOINED_GUILD`, `IS_OWNER`, `IS_ADMIN`. | | `guildId` | string | The guild's id, re-encoded as a decimal `uint256` string. | | `guildName` | string | | | `signature` | string | `0x`-prefixed EIP-191 signature over the encoded payload hash; submit this in the mint transaction. | | `timestamp` | integer (int64) | Unix seconds this payload was signed. | | `userAddress` | string | The (lowercased) address the Pin will be minted to. | | `userId` | string | The caller's Guild user id, re-encoded as a decimal `uint256` string for the mint call. | ### PinataSignedUrlResponse | Field | Type | Description | | --- | --- | --- | | `url` | string | A single-use Pinata upload URL, valid for 30 seconds. | ### PlatformsEmptyResponse ### PlatformsLeaderboardEntry | Field | Type | Description | | --- | --- | --- | | `amount` | integer (int64) | | | `avatarUrl` (optional) | string | | | `name` | string | Public display name. | | `primaryIdentity` | PlatformsPrimaryIdentity | Sanitized, display-only; kept for older clients. Prefer `name`. | | `rank` | integer (int64) | | | `userId` | string (uuid) | | ### PlatformsLeaderboardResponse | Field | Type | Description | | --- | --- | --- | | `leaderboard` | PlatformsLeaderboardEntry[] | | | `limit` | integer (int64) | | | `offset` | integer (int64) | | | `sourceMix` | object[] | Breakdown of point sources; opaque here since it isn't part of a validated upstream schema. | | `total` | integer (int64) | Total number of ranked users. | | `totalPoints` | integer (int64) | Sum of all points ever distributed on this platform. | | `user` (optional) | object or PlatformsLeaderboardUserEntry | | | `weeklyEarners` | integer (int64) | | ### PlatformsLeaderboardUserEntry | Field | Type | Description | | --- | --- | --- | | `amount` | integer (int64) | | | `avatarUrl` (optional) | string | | | `name` | string | | | `primaryIdentity` (optional) | object or PlatformsPrimaryIdentity | | | `rank` | integer (int64) | | | `userId` | string (uuid) | | ### PlatformsPlatformResponse | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `data` | object | Discord: `{ serverId, inviteChannel?, invite?, joinButton?, needCaptcha? }`. Points: `{ pointId, pointsConfig?, tiers? }`. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | | | `status` (optional) | string | `CONNECTED`, `DEGRADED`, or `DISCONNECTED`. Only ever set for DISCORD platforms, and only once (re-)read via `GET /platforms/{platformId}` — always absent immediately after creation. | | `type` | string | `DISCORD` or `POINTS`. | | `ui` | PlatformsPlatformUi | `UiSchema` — display metadata shared by every platform type. | | `uniqueId` | string | `{type}-{platformUniqueId}`, e.g. `DISCORD-1234567890`. | | `updatedAt` | string | ISO 8601. | | `visibility` (optional) | string | `PUBLIC` or `HIDDEN`. Absent immediately after creation; only populated once the platform is re-read. | ### PlatformsPointsPlatformListResponse | Field | Type | Description | | --- | --- | --- | | `platforms` | PlatformsPointsPlatformSummary[] | | ### PlatformsPrimaryIdentity | Field | Type | Description | | --- | --- | --- | | `userData` | PlatformsPublicUserData | | ### PointTransactionsBalanceResponse | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | The user's total balance on this points platform after the transaction. | ### PointTransactionsBulkCreateResponse | Field | Type | Description | | --- | --- | --- | | `inserted` | integer (int64) | Number of transactions actually inserted. | ### PointTransactionsUserBalanceResponse | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | Exact signed ledger balance, including negative amounts. | | `rank` | integer (int64) | 1-based leaderboard rank among users with a positive balance on this platform; 0 when the user's own balance isn't positive. | | `userId` | string (uuid) | | ### Points2BalanceResponse | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | | ### Points2LeaderboardEntry | Field | Type | Description | | --- | --- | --- | | `avatarUrl` (optional) | string | The member's public avatar URL, if any. | | `name` | string | The member's public display name. | | `points` | integer (int64) | The user's total (positive) balance on this platform — why they're ranked, and what they're ranked by. | | `userId` | string (uuid) | | ### Points2LeaderboardResponse | Field | Type | Description | | --- | --- | --- | | `leaderboard` | Points2LeaderboardEntry[] | Ranked users, highest balance first. | | `total` | integer (int64) | Count of users with a strictly positive balance on this platform (independent of `limit`/`offset` — users with a zero or negative balance are excluded from both this count and the leaderboard). | ### Points2UserPointsResponse | Field | Type | Description | | --- | --- | --- | | `points` | integer (int64) | The user's current balance on this platform. 0 if they have no transactions — an unknown `userId` isn't distinguished from one with no activity. | ### PointsEntry | Field | Type | Description | | --- | --- | --- | | `balance` | integer (int64) | | | `guild` | GuildRef | | | `name` | string | | | `platformId` | string | | | `rank` (optional) | integer (int64) | | ### ProfileCreateProfileResponse | Field | Type | Description | | --- | --- | --- | | `message` | string | `"Profile synced"`, `"Profile already exists"`, or `"Profile created"`. | | `profile` | ProfileData | The `profile` document embedded in the user-profile endpoints. `followers_count`/`following_count` stay snake_case on the wire — the rest of the object is camelCase. This mixed casing is the real API response shape, not a typo. | | `userId` | string (uuid) | | ### ProfileDeleteProfileResponse | Field | Type | Description | | --- | --- | --- | | `message` | string | `"Profile deleted"`. | | `success` | boolean | | ### ProfileInventoryResponse | Field | Type | Description | | --- | --- | --- | | `lastUpdated` | string | ISO 8601. | | `points` | object[] | Per-guild POINTS balances, verified guild memberships only, positive amounts only. Shape mirrors the `points` entries of the guild membership endpoints with `guildId`/`guildName`/`guildImageUrl` merged in. | | `rewards` | ProfileInventoryReward[] | | ### ProfileRankConfigsResponse | Field | Type | Description | | --- | --- | --- | | `og` | ProfileOgRank[] | | | `status` | ProfileStatusRank[] | | ### ProfileUnverifiedUsersResponse | Field | Type | Description | | --- | --- | --- | | `total` | integer (int64) | | | `users` | ProfileUnverifiedUser[] | | ### ProfileUpdateProfileResponse | Field | Type | Description | | --- | --- | --- | | `profile` | ProfileData | The `profile` document embedded in the user-profile endpoints. `followers_count`/`following_count` stay snake_case on the wire — the rest of the object is camelCase. This mixed casing is the real API response shape, not a typo. | | `success` | boolean | | ### ProfileUserProfileResponse | Field | Type | Description | | --- | --- | --- | | `profile` | ProfileData | The `profile` document embedded in the user-profile endpoints. `followers_count`/`following_count` stay snake_case on the wire — the rest of the object is camelCase. This mixed casing is the real API response shape, not a typo. | | `userId` | string (uuid) | | ### ProfileUserRanksResponse | Field | Type | Description | | --- | --- | --- | | `lastUpdated` | string | ISO 8601. | | `og` | ProfileOgSkillResult | A user's computed OG rank. | | `status` | ProfileStatusSkillResult | A user's computed Status rank. | ### ReferralLeaderboardEntry | Field | Type | Description | | --- | --- | --- | | `avatarUrl` (optional) | string | | | `count` | integer (int64) | | | `name` | string | | | `rank` | integer (int64) | | ### RequirementsDeleteResponse ### RequirementsPermissions | Field | Type | Description | | --- | --- | --- | | `read` (optional) | string (uuid) | | | `write` (optional) | string (uuid) | | ### RewardsEstimateGrantTimeResponse | Field | Type | Description | | --- | --- | --- | | `action` (optional) | string | `"ADD"` or `"REMOVE"`. Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `code` | string | `QUEUE_POSITION_UNAVAILABLE`, `DISCORD_QUEUE_POSITION`, `ESTIMATION_SUCCESS`, or `UNSUPPORTED_REWARD_TYPE`. | | `estimateSec` (optional) | number (double) | Seconds until the grant is expected to finish. Only present when `code` is `ESTIMATION_SUCCESS`. | | `position` (optional) | integer (int64) | Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `status` (optional) | string | `"PENDING"` or `"PROCESSING"`. Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `tasksAhead` (optional) | integer (int64) | Only present when `code` is `DISCORD_QUEUE_POSITION`. | | `type` (optional) | string | Present when `code` is `DISCORD_QUEUE_POSITION` (`"QUEUE_POSITION"`) or `ESTIMATION_SUCCESS` (`"PRECISE"`). | ### RewardsManageRewardResponse | Field | Type | Description | | --- | --- | --- | | `action` | string | `"grant"` or `"revoke"`. | | `userReward` (optional) | object | The user's `user_reward` ledger row after this call. Omitted entirely (not `null`) when there is nothing to report. NFT/PIN on-chain verification flows can add further fields alongside this one at the top level; not modeled here. `required = false` is explicit because `value_type` replaces the field's type tree — utoipa would otherwise lose the `Option` and publish this as a required property. | ### RewardsPermissions | Field | Type | Description | | --- | --- | --- | | `read` (optional) | string (uuid) | | | `write` (optional) | string (uuid) | | ### RewardsResponse | Field | Type | Description | | --- | --- | --- | | `capacity` (optional) | integer (int64) | Maximum number of claims. `null`/absent means unlimited. | | `createdAt` | string | ISO 8601, or epoch milliseconds. | | `data` | object | Reward-type-specific configuration; shape depends on `type` (e.g. DISCORD carries `platformId`/`roleId`, NFT/PIN carry `chain`/`contractAddress`/`function`, POINTS carries `platformId`/`amount`). | | `dynamic` (optional) | object or RewardsDynamic | | | `endTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no end restriction. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `legacyId` (optional) | integer (int64) | Present only on rows carried over from the legacy v1 id space. | | `permissions` | RewardsPermissions | `permissions` of a reward — nullable role/reward ids that, when set, gate who may read/write it beyond the guild owner/admin check. Defaults to `{ "read": null, "write": null }` when omitted from a create request. | | `startTime` (optional) | string | ISO 8601, or epoch milliseconds. `null`/absent means no start restriction. | | `type` | string | `PERMISSION`, `DISCORD`, `POINTS`, `SECRET`, `NFT`, `TELEGRAM`, `FORM2`, `PIN`, `VOTING`, or `PROFILE_ITEM`. | | `ui` (optional) | object or RewardsUi | | | `uniqueId` | string | Stable id used by `GET /rewards/{rewardId}?uniqueId=true`. | | `updatedAt` | string | ISO 8601, or epoch milliseconds. | ### RoleMembershipResponse | Field | Type | Description | | --- | --- | --- | | `role_id` | string (uuid) | | ### RolesAssignClaimResponse | Field | Type | Description | | --- | --- | --- | | `movedFrom` (optional) | integer (int32) | The number the member had before, free again. | ### RolesClaimPolicyResponse | Field | Type | Description | | --- | --- | --- | | `data` (optional) | object or RoleClaimSummary | | ### RolesClaimSummariesResponse | Field | Type | Description | | --- | --- | --- | | `data` | RoleClaimSummary[] | Only the asked-about roles that are limited or numbered. | ### RolesClaimsResponse | Field | Type | Description | | --- | --- | --- | | `data` | RoleClaim[] | | ### RolesLogic | Field | Type | Description | | --- | --- | --- | | `any_of_num` | integer (int64) | | | `gate` | string | | | `nested` (optional) | object | | ### RolesMemberCountResponse | Field | Type | Description | | --- | --- | --- | | `memberCount` | integer (int64) | The role's member count, from Protocol. | ### RolesPageRef | Field | Type | Description | | --- | --- | --- | | `id` | string (uuid) | | ### RolesPermissions | Field | Type | Description | | --- | --- | --- | | `read` (optional) | string | | | `write` (optional) | string | | ### RolesRoleListResponse | Field | Type | Description | | --- | --- | --- | | `data` | RolesRoleResponse[] | | | `secrets` (optional) | integer (int64) | Only present when the response was visibility-filtered for a non-admin caller: how many of the guild's SECRET/SELF_REVEAL roles the caller hasn't unlocked. Roles gated by an orphaned read reward are dropped from `data` without being counted here, so this is a subset of what was omitted, not the total. | ### RolesRoleResponse | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | Max 1500 characters. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `imageUrl` (optional) | string | | | `legacyId` (optional) | integer (int64) | Only set for roles carried over from the legacy (pre-v3) platform. | | `logic` | RolesLogic | A role's combination logic. Unlike the rest of this file's schemas, `logic`'s own keys are snake_case — the object is round-tripped straight to Protocol's role API. `gate` is one of `AND`, `OR`, `ANY_OF`, `NESTED`; `any_of_num` only matters when `gate` is `ANY_OF`; `nested` (an arbitrary requirement/role tree) can be present when `gate` is `NESTED`. | | `memberCount` | integer (int64) | | | `name` | string | | | `pages` | RolesPageRef[] | | | `permissions` | RolesPermissions | PERMISSION-reward gating for reading/writing this role, when configured — each is the id of the PERMISSION-type reward that unlocks it (the same id `setRolePermission` writes), not a requirement id. | | `requirements` (optional) | object[] | Present on `GET /roles` results by default (omit it there by passing `includeRequirements=false`); always absent on the single-role endpoints (`GET`/`POST`/`PUT /roles...`), which strip it. | | `rewards` | string[] | Reward ids attached to this role. | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | One of `PUBLIC`, `SELF_REVEAL`, `SECRET`, `HIDDEN`. | ### TelemetryPageViewResponse | Field | Type | Description | | --- | --- | --- | | `ok` | boolean | Always `true` — a 200 response only means the event was accepted and enqueued, not that it was already durably written to ClickHouse. | ### ThirdPartyContractAbiEntry | Field | Type | Description | | --- | --- | --- | | `anonymous` (optional) | boolean | Event-only. | | `inputs` (optional) | object[] | | | `name` (optional) | string | Absent for 'constructor', 'fallback' and 'receive'. | | `outputs` (optional) | object[] | | | `stateMutability` (optional) | string | Function-only: 'view', 'pure', 'nonpayable', or 'payable'. | | `type` | string | 'function', 'event', 'constructor', 'fallback', 'receive', or 'error'. | ### ThirdPartyMetadataResponse | Field | Type | Description | | --- | --- | --- | | `attributes` | ThirdPartyMetadataAttribute[] | Always exactly one entry: the holder's Citizen Score. | | `description` | string | | | `image` | string | The guild's image, or a Guild default image when it has none set. | | `name` | string | ' Passport'. | ### UploadFileResponse | Field | Type | Description | | --- | --- | --- | | `url` | string | Public URL of the uploaded file. | ### UserNotificationsListResponse | Field | Type | Description | | --- | --- | --- | | `notifications` | UserNotificationsNotification[] | | ### UserResponse | Field | Type | Description | | --- | --- | --- | | `created_at` | string | ISO 8601. | | `id` | string (uuid) | | ### UserRewardUpdateResponse ### UsersLegacyIdLookupResponse | Field | Type | Description | | --- | --- | --- | | `users` | UsersLegacyIdLookupUser[] | | ### UsersResolveResponse | Field | Type | Description | | --- | --- | --- | | `userId` | string (uuid) | | ### V1CrmIdentity | Field | Type | Description | | --- | --- | --- | | `displayName` | string | The identity's own display name for social/OAuth identities (e.g. Discord, X, Farcaster, Telegram, Google), the email address for an `EMAIL` identity, or the wallet address for an `EVM` identity. | | `id` | string | The platform-specific user id — the second `-`-delimited segment of the identity's `"{platform}-{platformUserId}"` id (e.g. `"1234567890"` for `"DISCORD-1234567890"`), not the full identity id. | | `platform` | string | e.g. `"DISCORD"`, `"X"`, `"EVM"`, `"EMAIL"`, `"FARCASTER"`, `"GOOGLE"`. | ### V1CrmMember | Field | Type | Description | | --- | --- | --- | | `id` | string (uuid) | | | `identities` | V1CrmIdentity[] | Only wallet (`EVM`) identities, unless the guild has the `crm_with_socials` subscription feature — this endpoint never grants the superadmin all-identities bypass that the admin CRM view has. | | `joinedAt` | string | ISO 8601. | ### V1RolesLogic | Field | Type | Description | | --- | --- | --- | | `any_of_num` | integer (int64) | Only meaningful when `gate` is `ANY_OF`. | | `gate` | string | One of `AND`, `OR`, `ANY_OF`, `NESTED`. | | `nested` (optional) | object | An arbitrary requirement/role tree, present when `gate` is `NESTED`. | ### V1RolesPageRef | Field | Type | Description | | --- | --- | --- | | `id` | string (uuid) | | ### V1RolesPermissions | Field | Type | Description | | --- | --- | --- | | `read` (optional) | string (uuid) | | | `write` (optional) | string (uuid) | | ### V1RolesRoleResponse | Field | Type | Description | | --- | --- | --- | | `createdAt` | string | ISO 8601. | | `description` (optional) | string | Max 1500 characters. | | `guildId` | string (uuid) | | | `id` | string (uuid) | | | `imageUrl` (optional) | string | | | `legacyId` (optional) | integer (int64) | Only set for roles carried over from the legacy (pre-v3) platform. | | `logic` | V1RolesLogic | A role's combination logic (`RoleSchema.logic`). Unlike the rest of this module's schemas, its own keys stay snake_case — the object is round-tripped straight to Protocol's role-logic API. | | `memberCount` | integer (int64) | | | `name` | string | | | `pages` | V1RolesPageRef[] | | | `permissions` | V1RolesPermissions | Reward-gated read/write access to the role, when configured — each is the id of the PERMISSION reward that unlocks it, or null. | | `requirements` | object[] | Always present on this endpoint (there is no query flag to omit it). | | `rewards` | string[] | Reward ids attached to this role. | | `tags` | string[] | | | `updatedAt` | string | ISO 8601. | | `visibility` | string | One of `PUBLIC`, `SELF_REVEAL`, `SECRET`, `HIDDEN` — the last-synced stored value. This endpoint does not filter by visibility, so SECRET/HIDDEN roles are included too. | ### ViewerEntry | Field | Type | Description | | --- | --- | --- | | `day` | string | | | `person` | PersonRef | | Source: https://new.guild.xyz/docs/api --- # Supported chains > The chains requirements and rewards work on. Guild's onchain requirements work on EVM chains. Not every chain supports every kind of requirement: balances of coins, tokens and NFTs work on the most chains, and contract queries on nearly as many. Wallet activity (first transaction, transaction and contract call counts) and EAS attestations are available on fewer chains. The requirement form only offers the chains its type supports, and the table below shows which kinds each chain has. Holding history requirements, **Held at a past block** and **Held continuously for**, work only on Ethereum and Base. They read the chain's past state, which only a full archive of the chain can answer, and Guild runs its own archive nodes for those two chains. NFT rewards can be deployed on the chains marked in the table. Blast and Blast Sepolia are sunset on October 26, 2026: you can no longer pick them for new requirements or NFT rewards. ## Mainnets 51 mainnets support requirements today. A ✓ means that kind of requirement works on the chain. | Chain | Chain ID | Balances | Contract query | Wallet activity | Attestations | Holding history | Past-block balance | NFT rewards | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Ethereum | `1` | ✓ | ✓ | ✓ | ✓ | ✓ | | ✓ | | OP Mainnet | `10` | ✓ | ✓ | ✓ | ✓ | | | ✓ | | Cronos Mainnet | `25` | ✓ | ✓ | ✓ | | | | ✓ | | Rootstock Mainnet | `30` | ✓ | ✓ | | | | | | | LUKSO | `42` | ✓ | ✓ | | | | | | | XDC Network | `50` | ✓ | ✓ | ✓ | | | | | | BNB Smart Chain | `56` | ✓ | ✓ | ✓ | | | | ✓ | | Gnosis | `100` | ✓ | ✓ | | | | | | | Polygon | `137` | ✓ | ✓ | ✓ | | | | ✓ | | Sonic | `146` | ✓ | ✓ | ✓ | | | | ✓ | | Manta Pacific Mainnet | `169` | ✓ | ✓ | | | | | | | X Layer Mainnet | `196` | ✓ | ✓ | | | | | ✓ | | opBNB | `204` | ✓ | ✓ | | | | | | | Boba Network | `288` | ✓ | ✓ | | | | | | | ZKsync Era | `324` | ✓ | ✓ | ✓ | | | | ✓ | | World Chain | `480` | ✓ | ✓ | | | | | ✓ | | Astar EVM | `592` | ✓ | ✓ | ✓ | | | | ✓ | | Hyper EVM | `999` | ✓ | ✓ | | | | | | | Metis | `1088` | ✓ | ✓ | | | | | ✓ | | Polygon zkEVM | `1101` | ✓ | ✓ | | | | | ✓ | | Core Dao | `1116` | ✓ | ✓ | | | | | ✓ | | Lisk | `1135` | ✓ | ✓ | | | | | ✓ | | Moonbeam | `1284` | ✓ | ✓ | | | | | | | Moonriver | `1285` | ✓ | ✓ | | | | | | | Sei Network | `1329` | ✓ | ✓ | | | | | | | Soneium Mainnet | `1868` | ✓ | ✓ | ✓ | | | | ✓ | | Ronin | `2020` | ✓ | ✓ | ✓ | | | | | | Kava EVM | `2222` | ✓ | ✓ | | | | | | | Mantle | `5000` | ✓ | ✓ | | | | | ✓ | | Superseed | `5330` | ✓ | ✓ | ✓ | | | | | | MegaETH | `4326` | ✓ | ✓ | | | | | ✓ | | ZetaChain | `7000` | ✓ | ✓ | | | | | ✓ | | Cyber | `7560` | ✓ | ✓ | | | | | ✓ | | Klaytn | `8217` | ✓ | ✓ | | | | | | | Base | `8453` | ✓ | ✓ | ✓ | ✓ | ✓ | | ✓ | | IOTA EVM | `8822` | ✓ | ✓ | ✓ | | | | ✓ | | Mode Mainnet | `34443` | ✓ | ✓ | | | | | ✓ | | Arbitrum One | `42161` | ✓ | ✓ | ✓ | ✓ | | | ✓ | | Celo | `42220` | ✓ | ✓ | | | | | | | Avalanche | `43114` | ✓ | ✓ | ✓ | | | | ✓ | | Sophon | `50104` | ✓ | ✓ | ✓ | | | | | | Ink | `57073` | ✓ | ✓ | ✓ | | | | ✓ | | Linea Mainnet | `59144` | ✓ | ✓ | ✓ | ✓ | | | ✓ | | Taiko Mainnet | `167000` | ✓ | ✓ | ✓ | | | | ✓ | | Scroll | `534352` | ✓ | ✓ | | | | | ✓ | | Zora | `7777777` | ✓ | ✓ | | | | | | | Neon EVM MainNet | `245022934` | ✓ | ✓ | | | | | ✓ | | Monad Mainnet | `143` | ✓ | ✓ | ✓ | | | | ✓ | | Hemi | `43111` | ✓ | ✓ | ✓ | | | | ✓ | | Harmony One | `1666600000` | ✓ | ✓ | | | | | | | Robinhood Chain | `4663` | ✓ | ✓ | ✓ | | ✓ | ✓ | | NFT rewards can be minted on Ethereum, OP Mainnet, Cronos Mainnet, BNB Smart Chain, Polygon, Sonic, Mint, X Layer Mainnet, ZKsync Era, World Chain, Astar EVM, Metis, Polygon zkEVM, Core Dao, Lisk, Soneium Mainnet, Mantle, MegaETH, ZetaChain, Cyber, Base, IOTA EVM, Mode Mainnet, Arbitrum One, Avalanche, Ink, Linea Mainnet, Taiko Mainnet, Scroll, Neon EVM MainNet, Monad Mainnet and Hemi. For testing, requirements also work on Superseed Sepolia, ZetaChain Athens Testnet, Base Sepolia and Sepolia. > [!WARNING] > Blast and Zero are retired or unavailable: no new requirements or rewards can use them. Source: https://new.guild.xyz/docs/chains