Jump to the API endpoint reference ↓

On this page

The Public BETA API gives the Owners and Avatar Admins of Essential Avatars and Enterprise Avatars programmatic access to their Avatar: its content, its members, their Facts and User Files, its interactions and its replies on behalf of a member. It is built for server-to-server integrations.

The API key is a long-lived secret, so keep it out of browser, mobile and other client-side code.

The Stability & Use Contract sets out what MaxGood.work keeps stable, how changes are announced and how your data is handled. Read it before you build.

Latest changes

2026-11-19 — The API for Essential Avatars; Facts, User Files, interactions, member tags and archive; a fix to POST /tags

  • Endpoints: new GET /facts, POST /facts, GET /facts/{fact_id}, PATCH /facts/{fact_id}, DELETE /facts/{fact_id}, GET /facts/{fact_id}/history, GET /users/{user_id}/tags, DELETE /users/{user_id}/tags, POST /users/{user_id}/archive, POST /users/{user_id}/unarchive, GET /users/{user_id}/files, POST /users/{user_id}/files, GET /users/{user_id}/files/{file_id}, GET /users/{user_id}/files/{file_id}/chunks, DELETE /users/{user_id}/files/{file_id}, GET /interactions, GET /users/{user_id}/interactions; changed POST /tags, POST /users, POST /users/batch, PUT /users/{user_id}, DELETE /users/{user_id}, GET /users and every operation that needs a key.
  • Change: Security fix (section 6.2 of the contract) for POST /tags, together with these additive changes and one narrowing.
    • POST /tags tags only an active member of your Avatar. An email address that belongs to no user, a user who is not a member of your Avatar and a member whose account was erased all return the same 404 User not found., and nothing is written. Only a key the Avatar Owner, an Avatar Admin or MaxGood.work staff issued tags members; a key an Avatar Coach issued gets 403 not_org_admin. Member tags belong to Enterprise Avatars: an Essential Avatar’s key gets 403 user_tags_not_enabled.
    • The API is available to Essential Avatars as well as Enterprise Avatars. An Essential Avatar’s Owner and Avatar Admins create keys in Avatar Admin > Account. The Avatar Coach role, member tags and the edit history of Facts stay with Enterprise Avatars. The scope name enterprise_api is the same on both types.
    • New operations manage Facts (/facts) and User Files (/users/{user_id}/files), list and remove a member’s tags, archive and unarchive a member, and read interactions (/interactions, /users/{user_id}/interactions). A key does what its issuer can do in the MaxGood.work web app, and an operation a key may not do answers 403 or 404 as the endpoint reference states. Every user object carries archived_at.
    • Each Avatar type sets limits: Enterprise Avatars allow 120 member-data reads per key each minute, 600 Fact writes, 100 User File uploads and 200 invitations per Avatar each hour, and Essential Avatars allow half of each. A request over a limit gets 429 with error_code rate_limited, a Retry-After header, and retry_after_seconds, limit and window_seconds in the body. The invitation 429 carries the same fields.
    • Narrowing: a key of an Avatar whose Avatar type does not offer the API gets 403 api_not_available on every operation, and works again when the type offers the API. On every Avatar type, changing is_admin or is_coach, and removing an Avatar Admin or Avatar Coach, needs a key the Avatar Owner or MaxGood.work staff issued (403 role_change_owner_key_only). When the Avatar type’s settings cannot be read, a request gets 503 and does nothing.
  • What to do: nothing is required for an integration that uses the operations it already uses on an Enterprise Avatar. If your integration tags members, tag only members of the Avatar and handle 404 and 403 from POST /tags. If it changes roles, use a key the Avatar Owner created. Handle 429 by waiting retry_after_seconds. Read the limits on each endpoint in the reference before you backfill.

2026-11-16 — New POST /users/batch; user limits apply to the 1,000-member cap

  • Endpoints: new POST /users/batch, POST /users.
  • Change:
    • POST /users/batch invites 1 to 100 users in one request. It checks the Avatar’s user limit once for everyone who needs a new seat: when the open seats do not cover them, it returns 409 avatar_full with needed and open_seats and adds nobody. Otherwise each row is added on its own and the response lists one result per row.
    • The 1,000 active-member cap of POST /users does not apply to an Avatar whose user limit MaxGood.work staff have set.
    • POST /users keeps its statuses and error codes. It refuses an Avatar with no open seat with 403, after the field save limits.
  • What to do: nothing is required. Use POST /users/batch to invite many people with one request.

2026-11-06 — Chunk text is Markdown

  • Endpoints: PUT /content/chunks/{id}, POST /content/titles/{title_id}/upload, GET /content/chunks/{id}, GET /content/titles/{title_id}/chunks.
  • Change: a chunk’s text is always Markdown. HTML sent in chunk_text or in the text of an upload is converted to Markdown when it is stored, and chunk_text reads back as Markdown. Chunks stored with HTML in their text were converted to Markdown.
  • What to do: send chunk text as Markdown and read chunk_text as Markdown. An integration that sends HTML keeps working and receives Markdown back.

Getting an API key

  1. Sign in to the MaxGood.work web app as the Avatar Owner or an Avatar Admin of the Essential Avatar or Enterprise Avatar you want to integrate.
  2. Open Avatar Admin > Account.
  3. Create a new API key and give it a label that names the integration, so you can audit and revoke it later.
  4. Copy the token immediately. It looks like mgak_<credential_id>.<secret> and is shown once. MaxGood.work cannot recover it. Treat it like a password and store it in your secrets manager, never in source control.

A key acts with the authority of the person who created it, so some operations depend on who created the key; the endpoint reference names the creators each operation accepts. You can revoke a key at any time from the same tab, and a revoked key receives 401 at once.

Making a request

The base URL is:

https://api.maxgood.work/v1beta

Authenticate every request with the API key in the Authorization header:

Authorization: Bearer mgak_<credential_id>.<secret>

Confirm your key works by fetching the Avatar identity:

curl -s https://api.maxgood.work/v1beta/organization \
  -H "Authorization: Bearer mgak_<credential_id>.<secret>"

The error codes your integration handles are listed in the introduction of the endpoint reference below.

Endpoint reference

The interactive reference below is rendered from the OpenAPI 3 specification. To generate clients, download the OpenAPI specification.

History

2026-10-28 — Replies need the member’s accepted terms or agreement

  • Endpoints: POST /avatar/respond.
  • Change: a member who has not accepted what applies to them (an Avatar Client accepts the Avatar’s terms and conditions, the Avatar Owner accepts an agreement) gets 403 with error_code agreement_required and an agreement_url. The member reads and accepts there, signed in as themself. No API key accepts on a member’s behalf. Nothing is generated or stored.
  • What to do: handle the 403 by sending the member to agreement_url, then send their message again once they have accepted.

2026-10-23 — Members carry a status; erased members leave the roster

  • Endpoints: GET /users, GET /users/{user_id}, PUT /users/{user_id}, PUT /users/{user_id}/coach, POST /avatar/respond.
  • Change: every user object carries status: active, licence_expired or archived (paused by an Avatar Owner or Admin: the member keeps their place and data, cannot chat and does not use a slot). Archived and licence-expired members are listed and counted in users_count. A member whose account was erased is not listed or counted, and every /users/{user_id} endpoint answers 404 for them. POST /avatar/respond answers 200 with the Avatar’s refusal text for an archived or licence-expired member, and 404 for an erased one.
  • What to do: nothing is required. Read status to tell paused and expired members from active ones, and treat a 404 for an erased member as the end of that person’s membership.

2026-10-22 — Avatar Coaches, roles and key issuers on Enterprise Avatars

  • Endpoints: POST /users, GET /users, GET /users/{user_id}, PUT /users/{user_id}, DELETE /users/{user_id}, new PUT /users/{user_id}/coach, POST /avatar/respond.
  • Change:
    • New PUT /users/{user_id}/coach assigns a member’s Avatar Coach ({"coach_user_id": "<user id>"}) or removes it (null). Every user object carries coach_user_id, which is always null on Avatars that are not Enterprise Avatars.
    • The Avatar Coach role exists only on Enterprise Avatars. Setting is_coach: true on any other Avatar gets 403 coach_role_not_enabled.
    • On an Enterprise Avatar, making a member an Avatar Admin also makes them an Avatar Coach.
    • On an Enterprise Avatar, changing is_admin or is_coach, and removing an Avatar Admin or Avatar Coach, needs a key created by the Avatar Owner; other keys get 403 role_change_owner_key_only.
    • On an Enterprise Avatar, a member’s notes are returned and written only with a key created by the Avatar Owner, and structured_data only with a key created by the Avatar Owner or an Avatar Admin. Other keys read null with notes_withheld or structured_data_withheld set to true, and get 403 (notes_owner_key_only, user_data_admin_key_only) when they send the field. Every user object carries notes_withheld, notes_meta, structured_data_withheld and structured_data_meta.
    • On an Enterprise Avatar, a reply for another member needs a key created by the Avatar Owner or by that member’s Avatar Coach. Other keys get 403 interaction_access_required. A key always requests replies for its own creator.
    • DELETE /users/{user_id} never removes the Avatar Owner: it answers 403 owner_not_removable.
  • What to do: if your integration manages roles, reads or writes notes, or requests replies for members of an Enterprise Avatar, have the Avatar Owner create its API key in Avatar Admin and replace the old key. Read notes_withheld and structured_data_withheld before treating a null as empty, and handle the new 403 answers.

Stability & Use Contract

Effective 2026-11-09

This contract sets out what MaxGood.work commits to for integrators who use the Public BETA API, and what we ask of them in return. The API lives under the /v1beta/ prefix (https://api.maxgood.work/v1beta/...). The endpoint reference, with every request, response and error, is published beside this contract at https://blog.maxgood.work/api-documentation-beta.

1. Who can use it

The Public BETA API is for the Owners and Avatar Admins of Essential Avatars and Enterprise Avatars, and for the developers who build their integrations. An Avatar Admin or Avatar Owner creates an API key in the MaxGood.work web app (Avatar Admin > Account). Each key is bound to one Avatar and acts only on that Avatar. An Avatar Admin of several Avatars creates one key for each. A key of an Avatar whose Avatar type does not offer the API receives 403 api_not_available, and the key works again when the Avatar’s type offers the API.

Some features belong to Enterprise Avatars only: member tags, the Avatar Coach role and the edit history of Facts. The endpoint reference marks each one, and an Essential Avatar’s key receives 403 on it.

2. What BETA means

The API is ready to use, and MaxGood.work uses it in production. BETA means it is not yet General Availability (GA): it changes frequently, and some changes are breaking. Section 6 sets out how we announce them.

3. Authentication and what an API key grants

Every request, except those to the public read tier below, carries the key in the Authorization header as Bearer mgak_<credential_id>.<secret>. The endpoint reference describes the key formats and the shared error codes.

  • A key is shown once, when it is created. Treat it as a password and keep it on your server. The API is for server-to-server use and does not send browser CORS headers for key-authenticated endpoints.
  • An Avatar’s key grants the BETA surface for that Avatar: reading and changing content, managing members, keeping Facts and User Files, reading interactions, and requesting Avatar replies on behalf of members. Keys have no read-only or per-endpoint scopes, and every key carries the one scope, named enterprise_api, whichever Avatar type it belongs to.
  • A key acts with the authority its issuer (the person who created it) holds in the Avatar when the request arrives, and never does more than the issuer can do in the MaxGood.work web app. A key whose issuer has left the Avatar reaches no member data. On every Avatar type, only a key the Avatar Owner issued changes the Avatar Admin and Avatar Coach roles, and no key removes the Avatar Owner. On an Enterprise Avatar the same authority decides access to members’ notes and structured data and to replies for other members. The endpoint reference states each rule on the endpoint it applies to.
  • An Avatar Admin or Avatar Owner revokes a key at any time on the same page. A revoked key receives HTTP 401 from that moment.
  • The public read tier under /v1beta/public/* needs no key. It serves only information already published on the MaxGood.work website, and it allows requests from any browser origin.

4. Scope

The BETA surface covers these endpoint groups. The endpoint reference defines the behaviour of each.

  • Avatar: Avatar details, semantic search over the Avatar’s content, and, on Enterprise Avatars, member tags.
  • Content management: titles, documents, chunks and footers for the Avatar’s Expertise.
  • Avatar responses: a reply from the Avatar on behalf of a named member.
  • User management: list, invite, read, update, archive, unarchive, remove, and assign an Avatar Coach (Enterprise Avatars).
  • Facts: list, add, reword, hide and delete the Facts an Avatar keeps, and read their edit history (Enterprise Avatars).
  • User Files: list, upload, delete and read the text of the documents kept about a member.
  • Interactions: read an Avatar’s interactions, or one member’s, as the key’s issuer reads them in the MaxGood.work web app.
  • Public read tier: listed Avatars, free Avatars, Foundation titles, the showcase, authors and platform statistics.

Other MaxGood.work routes, including those the MaxGood.work web app and the messaging integrations use, are outside this contract. Only /v1beta/* is covered.

5. Stability promise

For every endpoint in the endpoint reference, MaxGood.work keeps these stable except through the process in section 6:

  • the URL path and HTTP method;
  • the required request fields and their meaning;
  • the meaning and type of each documented response field;
  • the error status codes that form part of the documented behaviour.

MaxGood.work may make backwards-compatible changes at any time: new endpoints, new optional request fields, new response fields, clearer error messages, and better performance. Write your parser to ignore response fields it does not know.

6. Deprecation and change notices

A change to a /v1beta/* endpoint that is not backwards-compatible (a renamed path, a changed method, a removed field, a changed type, or a narrowed behaviour) is a breaking change. For every breaking change MaxGood.work:

  1. publishes a change notice on the documentation page and on our Discord server within 7 days after the change ships, naming the endpoint, the change, the date, and what to do;
  2. keeps a replacement alongside the existing endpoint where that is practical, so an integration keeps working while it migrates.

Security fixes and privacy fixes follow section 6.2.

6.1 Author branding in response.response

POST /v1beta/avatar/respond returns the reply in response.response. When a reply cites Foundation content, the Foundation Author’s attribution is rendered into that text as Markdown, one line for each cited piece. Keep the attribution when you show the reply to end users. It carries the Author’s name into every reply that uses their work, and it is part of the licence that makes Foundation content available to your Avatar. Support answers questions about licence terms.

The Avatar’s reference display setting controls only the references to Expertise and to the member’s own profile file. The endpoint reference describes the [References] line and partner_content_ids. MaxGood.work counts every citation for Foundation Author usage whatever the setting. To remove Author attribution for an Avatar, disable the Foundation titles for that Avatar on the Avatar Admin page.

6.2 Security and privacy fixes

A security fix or privacy fix ships at once, and MaxGood.work announces it immediately after it is live, on the documentation page and on our Discord server. The notice names the endpoint, the change, and what an integrator does to adapt. Such a fix can narrow a behaviour, for example by refusing a request shape or value size that exposed the platform to abuse.

7. Rate limits and fair use

  • The Avatar type sets the API’s limits, and MaxGood.work can change them for a type. Enterprise Avatars allow 120 reads of member data (Facts, User Files, interactions and member tags) per key in each minute, 600 Fact writes, 100 User File uploads and 200 invitations per Avatar in any rolling hour. Essential Avatars allow half of each: 60, 300, 50 and 100. A request over a limit receives 429 with error_code rate_limited, a Retry-After header, and retry_after_seconds, limit and window_seconds in the body. The endpoint reference lists the limits.
  • Inviting members with POST /v1beta/users and POST /v1beta/users/batch counts against the invitation limit. POST /v1beta/users/batch takes 1 to 100 rows.
  • An Avatar holds at most 1000 active members through the API. The cap does not apply to an Avatar whose user limit MaxGood.work staff have set, and MaxGood.work support sets that limit on request.
  • Each Avatar has a user limit, from its Avatar type or set by MaxGood.work staff, which POST /v1beta/users and POST /v1beta/users/batch respect. POST /v1beta/users/batch checks the limit once for the whole list and adds nobody when it does not fit.
  • The public read tier allows 600 requests per client IP address in each 60-second window. A request over the limit receives 429 with a Retry-After header.
  • Other endpoints have no published request-rate limit. Keep usage in proportion to your Avatar’s normal activity, and contact support before you backfill or migrate a large volume.
  • MaxGood.work may throttle or block a key that generates sustained abnormal load, abusive content, or unauthorized security-test traffic. A new limit that breaks a documented use case is a breaking change under section 6.
  • All actions are production actions. The BETA has no test mode and no test keys. Ask support for a separate Avatar if you need one for testing.

8. Data handling and privacy

MaxGood.work records each authentication attempt, each content, member, Fact, User File, tag or archive change, each read of interactions, Facts and User Files, and each Avatar response made through the API in its audit log, with the credential, the Avatar, the endpoint and the outcome, and never the text of a Fact, a file or an interaction. The data a key reads or changes is the data its issuer can read or change in the MaxGood.work web app, and a key never reaches a member’s interactions with another Avatar. Each Avatar’s privacy notice tells its members that the Avatar Owner may connect other systems to the Avatar through the API, names the Avatar Owner, and lists what those systems can read and change: notes, structured data, Facts and User Files, and interactions with that Avatar. An interaction created through POST /v1beta/avatar/respond is stored under the calling Avatar like any other interaction. MaxGood.work’s Privacy Policy at https://maxgood.work/privacy-policy governs personal data sent to or returned by the API. Send personal data only where you have a lawful basis to process it.

9. Liability

The BETA API is provided as is during the BETA period. Your MaxGood.work service agreement and general terms of service set out the warranties and liability that apply. If your integration depends on behaviour that section 5 and the endpoint reference do not document, ask support first.

10. Versioning and the path to general availability

The /v1beta/ prefix marks the BETA surface. When the API reaches GA, MaxGood.work publishes it under /v1/ with a stronger stability commitment, and announces a sunset schedule for /v1beta/ on the documentation page and on our Discord server. The sunset period is typically six weeks or more.

11. Support and feedback

  • Documentation: https://blog.maxgood.work/api-documentation-beta holds the endpoint reference, the change notices and this contract.
  • Support, bug reports, feature requests and security reports: join our Discord server at https://discord.gg/xhkwCfYurk and use the v1beta-api-support channel.

MaxGood.work reads every BETA report and welcomes feedback on what is missing or awkward.


Questions? Post in the v1beta-api-support channel of the MaxGood.work Global User Community on Discord.