Account

A signed-in account accepts a person join link (the code after # in an invite link) and becomes a member with the link's role. Body {"code": "ow_j_..."}. A phone's X-Session-Token is credential enough. Preview first with POST /api/v2/join/preview (no credential).

A second send is the read: when the answer is lost (a reload, a closed tab, a double press), send the same code again. 201 or 409 already_member (with world_id) opens the world; 404 means the code is not yours.

post/api/v2/account/join

Request

  • Base URL
    https://www.onlyworlds.com
  • Auth
    • HTTP bearer
    • or API key in header X-Session-Token

Request body

object required
code, string required

The ow_j_ join code.

Response

Joined: the new membership (the same row as accepting an invite).

object required
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.

Changes

    • info

      added the optional property error/limit to the response with the status

    • info

      added the optional property error/limit to the response with the status

    • info

      added the optional property error/limit to the response with the status

    4 more changes in this revision