---
title: "Change who made an institution"
method: POST
path: "/api/v2/institution/{id}/adopt"
tags: ["Institution"]
---

# Change who made an institution

`POST /api/v2/institution/{id}/adopt`

## Request

- Base URL: `https://www.onlyworlds.com`
- URL: `https://www.onlyworlds.com/api/v2/institution/{id}/adopt`
- Auth: API key in header `API-Key` and API key in header `API-Pin`

Sets the element's created_by to a member of this world, or to the owner (null). The world's owner key, or a co-builder's (a person's or a seat's), with its PIN. A contributor makes changes only to what it created, so this hands it an element someone else made, or takes one back. Nothing else in the element changes; the write stamps changed_by and changed_via and takes a new change_seq, so /changes carries the element with its new created_by. When the element is hidden, or the member is a guest, the member who made it may stop seeing it and the new one may start: each of them gets a reset (409 resync_required, reason view) on /changes.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-OW-Agent` string
- `X-OW-Client` string

## Request body

- object
  - `member` string, required: A membership id of this world (a person or an AI seat, as GET /members lists them), or "owner" for the world's owner.

## Response `200`

Changed: the full element.

- Institution: An institution as the API returns it. Single links are an id or null, multi links an array of ids; extension fields appear inline. `?fields=` returns only the named keys, and `?expand=` replaces the named links' ids with ElementStub objects.
  - `type` 'institution', required
  - `id` string, uuid, required
  - `name` string, required: Name of the element.
  - `description` string, required: Any kind of details about the element.
  - `supertype` string, required: The top level classification of the element within its type.
  - `subtype` string, required: The sub level classification through which the element is further sorted within its type.
  - `image_url` string, required: URL to an image representing the element.
  - `doctrine` string, required: Core belief, mission, or purpose that drives the institution.
  - `status` string, required: Current political, cultural, or functional standing of the institution in the world.
  - `founding_date` integer, nullable, required: Date when the institution was established, in the world's time unit (World time_basic_unit).
  - `parent_institution` string, uuid, nullable, required: Institution that governs, embodies, or originated this one. An Institution's id.
  - `zones` string[], required: Areas the institution controls or claims authority over. Zone ids, as stored (a write keeps each id once).
  - `objects` string[], required: Significant objects owned or tied to the institution's operations, holdings, or identity. Object ids, as stored (a write keeps each id once).
  - `creatures` string[], required: Creatures under the institution's protection, use, or symbolic control. Creature ids, as stored (a write keeps each id once).
  - `allies` string[], required: Institutions this one actively cooperates or aligns with. Institution ids, as stored (a write keeps each id once).
  - `adversaries` string[], required: Institutions this one opposes, competes with, or is in conflict with. Institution ids, as stored (a write keeps each id once).
  - `constructs` string[], required: Conceptual, procedural, or structural systems created or maintained by the institution. Construct ids, as stored (a write keeps each id once).
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `change_seq` integer, required: The world change sequence at this element's last write.
  - `created_by` string, uuid, nullable: The world membership that created this element, or null when the world's owner did. Members only: absent for the public, as `doors` is.
  - `changed_by` string, uuid, nullable: The world membership that last changed this element, or null when the world's owner (or the server) did, or no write has touched it since doors were recorded: null with a non-null `changed_via` other than `server` is the world owner's write (the owner is the account, not a membership); null with `server` is the server's own write; null in both is a row from before writers were recorded. An id whose row on GET /members has `status: removed` is a former member's write: the id outlives the membership (removed, left, or its account deleted), and is never the owner's. Members only: absent for the public, as `doors` is.
  - `changed_via` 'seat' | 'mcp' | 'declared' | 'api' | 'v1' | 'sync' | 'server' | 'site' | 'null', nullable: The door of the last change: `seat` (an AI seat), `mcp` (the MCP server), `declared` (the request sent an X-OW-Agent header), `api`, `v1`, `sync` (the mobile app's sync), `site` (the owner on onlyworlds.com) or `server` (the server, on its own behalf). The first three are the doors the platform marks as an AI's. Null: no write since doors were recorded. Members only: absent for the public, as `doors` is.
  - `changed_client` string, nullable: The name the client gave itself on the last change, in its X-OW-Client header (`atlas`, `lantern`, `sdk`): the client's claim, never proof, and it changes nothing about the door the change came through (that is `changed_via`). Null: no name sent, a value outside the rule, a server write, or a change from before names were recorded. Members only: absent for the public, as `doors` is.
  - `doors` object, nullable: Where this element has been: one key per tool that wrote it, each with the time of that tool's last write (the same string as `updated_at` after that write, so the newest key's time is this body's `updated_at`). The key is the name the client gave in its X-OW-Client header (`atlas`, `lantern`) when it sent one, else the door the write came through (`api`, `seat`, `mcp`, `server` and the other `changed_via` words), never both for one write. At most 16 keys: a new one past that drops the key with the oldest time. Members only: served to the world's owner and every member (co-builders, contributors, guests and AI seats); absent for the public, absent on a known-of stub, and never in the change feed or a world file. Null: no write since the history was recorded. A write carrying it is accepted and the key ignored.
  - `known_of` true: Present, and true, only on an element this reader knows of but does not see whole: a guest or player reaches it only because its own Character's sheet links to it (one step out). Such a row keeps `id`, `type`, `name`, `description`, `supertype`, `subtype`, `image_url`, `created_at`, `updated_at` and `change_seq`, and its type's public fields (none for an institution); every other field reads as unset (text "", numbers and single links null, multi links [], `created_by`, `changed_by` and `changed_via` null, no `doors`, no extension fields), its files are 404, and search matches only what it keeps. Absent: the element is whole. Any other grant (it names the reader's Character, the reader knows it, it is on the roster, the reader made it) makes it whole; a hidden element is never even a stub, whatever its public fields. Read-only: a write carrying `known_of` is refused (`known_of_not_writable`).
  - `hidden` true: Present, and true, only when the world's owner or a co-builder hid this element and this reader still sees it: the owner, a co-builder, a key the owner minted, or the member who made it (to every other reader it does not exist). Absent otherwise, never false. A world file (the site's download) never carries it. Sent back in an update, it is ignored: hide and unhide an existing element through PUT and DELETE /{type}/{id}/hidden. Sent on a create, `hidden: true` creates the element hidden (the write body's `hidden`).

## Other responses

- `401`: Missing, invalid or revoked credential, or a wrong PIN (authentication_error; code key_revoked for a revoked key, invalid_credentials otherwise).
- `403`: The key is a contributor's or a guest's: only the world's owner and its co-builders change who made an element, whoever made it (not_author).
- `404`: No such element, or one this key cannot see; or member names no live member of this world (not_found).
- `422`: member is missing, or names a player seat, which never makes elements (invalid_request, param member); or the id is malformed.
- `429`: Too many failed PIN attempts; see the Retry-After header (rate_limited). Or too many requests: over the request budget (code too_many_requests, type rate_limited): 300 requests a minute per key or account token, 60 a minute per address for a request with neither. Retry after the Retry-After header's seconds.
- `503`: The server is busy: every request slot stayed full for 10 s (code server_busy, type api_error). Retry after the Retry-After header's seconds.

## Changes

- **2026-11-28** `e45847b3f48f`: 6 info
  - added the optional property `error/limit` to the response with the `401` status
  - added the optional property `error/limit` to the response with the `403` status
  - added the optional property `error/limit` to the response with the `404` status
  - added the optional property `error/limit` to the response with the `422` status
  - …2 more
- **2026-11-26** `f921dd878e35`: 6 warning
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `401`
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `403`
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `404`
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `422`
  - …2 more
- **2026-11-26** `7ef7860703bb`: 6 warning
  - added the new `narratives_only` enum value to the `error/code` response property for the response status `401`
  - added the new `narratives_only` enum value to the `error/code` response property for the response status `403`
  - added the new `narratives_only` enum value to the `error/code` response property for the response status `404`
  - added the new `narratives_only` enum value to the `error/code` response property for the response status `422`
  - …2 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/onlyworlds/apis/onlyworlds-api/changes/api/v2/institution/:id/adopt/post.md)

---

[API](https://skmtc.dev/onlyworlds/apis/onlyworlds-api.md) - [All operations](https://skmtc.dev/onlyworlds/apis/onlyworlds-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onlyworlds/apis/onlyworlds-api/revisions/6c819f2e4bbd?raw)
