Accept Link
Changed onA 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.
Request
- Base URLhttps://www.onlyworlds.com
- Auth
- HTTP bearer
- or API key in header X-Session-Token
Request body
The ow_j_ join code.
Response
Joined: the new membership (the same row as accepting an invite).
The membership.
The member's Character in the world, or null.
Changes
- info
added the optional property
error/limitto the response with the status - info
added the optional property
error/limitto the response with the status - info
added the optional property
error/limitto the response with the status
4 more changes in this revision
- info