---
title: "Accept Invite"
method: POST
path: "/api/v2/account/invites/{invite_id}/accept"
tags: ["Account"]
---

# Accept Invite

`POST /api/v2/account/invites/{invite_id}/accept`

## Request

- Base URL: `https://www.onlyworlds.com`
- URL: `https://www.onlyworlds.com/api/v2/account/invites/{invite_id}/accept`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Session-Token`

## Path parameters

- `invite_id` string, required

## Request body

- object
  - `roster_character` string, uuid: A Character in the world.

## Response `201`

Joined: the new membership.

- object
  - `id` string, uuid, required: The membership.
  - `world_id` string, uuid, required
  - `world_name` string, required
  - `role` string, required
  - `joined_at` string, date-time, required
  - `roster_character` string, uuid, nullable, required: The member's Character in the world, or null.

## Other responses

- `401`: Missing or invalid account credential (Bearer ow_a_ token or session).
- `404`: Not found, or not yours (not_found).
- `409`: Already a member (already_member). No account PIN is needed to accept; a write key for the membership waits for one (pin_required).
- `422`: Invalid request: unknown or read-only field, bad value, unknown query parameter, over-long text, extensions over the size cap (invalid_request); `param` names the culprit.
- `429`: 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-10-20** `78df39c4c62e`: 6 warning
  - added the new `known_of_not_writable` enum value to the `error/code` response property for the response status `401`
  - added the new `known_of_not_writable` enum value to the `error/code` response property for the response status `404`
  - added the new `known_of_not_writable` enum value to the `error/code` response property for the response status `409`
  - added the new `known_of_not_writable` enum value to the `error/code` response property for the response status `422`
  - …2 more
- **2026-10-20** `4dd5b1cd0687`: 12 warning
  - added the new `character_taken` enum value to the `error/code` response property for the response status `401`
  - added the new `character_taken` enum value to the `error/code` response property for the response status `404`
  - added the new `character_taken` enum value to the `error/code` response property for the response status `409`
  - added the new `character_taken` enum value to the `error/code` response property for the response status `422`
  - …8 more

[Operation history](https://skmtc.dev/onlyworlds/apis/onlyworlds-api/changes/api/v2/account/invites/:invite_id/accept/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/1752622ae8ce?raw)
