> Documentation index: https://www.socialcrawl.dev/llms.txt > Every page is also available as Markdown by adding .md. # Teams (/docs/teams) Share one credit balance with colleagues. Each person signs in with their own account and uses their own API keys. A team shares one credit balance. You invite people by email. Each person signs in with their own account and makes their own API keys, and every call they make is paid from the team balance. Teams are free. There is no price per person, and a team holds up to 100 people. A call costs the same credits as on an account with no team. ## Start a team Open **Team** in the dashboard and press **Invite people**. Paste one or more email addresses and choose a role for them. The team starts when the first invitation is sent. It is named from your email domain, and you can rename it on the Team page. Each person must sign in with the address you invited. The invitation opens a page that says what joining changes for them before they press **Join team**. An invitation lasts 7 days. A team can have 20 invitations waiting at a time, or 100 once the owner has bought credits. In 24 hours it can send three times that many (60, or 300), resends included. An invitation can be sent again 10 minutes after it was last sent. ## Roles | Role | What they can do | |---|---| | Owner | Pays for the team. Invites and removes people, changes roles, turns on auto-recharge and deletes the team. | | Admin | Invites and removes people, makes a member an admin or an admin a member, and reads everyone's usage. | | Member | Calls the API on the team balance, sees who is on the team and reads their own usage. | A team has one owner, and the owner's role does not change. ## Who pays for a call? The owner's balance is the team balance. A teammate's call is paid from it, and the call stays the teammate's own: it appears in their request log and their usage, under their key. Credits a person had before joining are set aside while they are on the team. They come back when the person leaves. The owner turns on auto-recharge from the Team page and sets the threshold, the pack and the monthly limit there. The team balance then refills from the owner's card as teammates spend. Teammates see whether it is on. Their own auto-recharge is paused while they are on the team, since the team balance pays for their calls. ## What does my code see? `GET /v1/credits/balance` and `GET /v1/keys/current` carry a `billing` block, so a program knows who pays for its calls and whether a low balance refills by itself. ```json title="Response (part)" "billing": { "source": "team", "team": { "id": "org_8Hq2", "name": "Northwind", "role": "member" }, "own_balance_set_aside": 1240, "auto_recharge": { "enabled": true } } ``` On an account with no team, `source` is `personal` and `team` is `null`. For a teammate, `balance` and `credits_remaining` report what the team can spend, so a program that stops on a low figure keeps working while the team can pay. For the owner, `balance` is what the owner's own keys can spend now. The Team page can show a slightly higher figure, because it also counts credits already handed to teammates' keys and not yet spent. ## What happens when the team balance runs out? A teammate's call answers `402` with `INSUFFICIENT_CREDITS`, the same code as for anyone. The body carries no `checkout_url`, no `top_up_url` and no pack to buy, because a teammate does not buy credits. Its message names who adds credits for the team, and `error.details.billing.credits_added_by` carries that name. `error.details.next_step` tells the teammate to ask the owner for credits. The teammate and the owner each get a notice in the dashboard. See [errors](/docs/errors.md#insufficient-credits) for the rest of the body. If the team balance is not available to you, the `402` says so, `credits_added_by` is `null`, and `next_step` says that if you leave the team on the Team page, your next call is paid from your own balance. The Team page shows the same line beside **Leave team**. ## Leaving, removing and deleting When someone leaves or is removed, their next call is paid from their own balance. Team credits they had not used go back to the team, and their API keys keep working on their own account. Invitations they sent that are still waiting are cancelled. So are an admin's when they are made a member. The person who made the change is told how many. The owner can delete the team from the foot of the Team page. Everyone goes back to their own account, unused team credits return to the owner, and pending invitations are cancelled. The owner keeps their balance and their keys. ## What can admins see? Totals only: credits by person, by endpoint and by day. Admins do not see what a teammate searched for or what came back. Members see who is on the team and their own usage, not other people's. - [Billing and credits](/docs/credits.md): How credits are charged, refunded and topped up. - [Errors](/docs/errors.md): Every error code, including a team - [Your account](/docs/account.md): Keys for each person or service, and closing an account.