Household
Join a household
POST
Ends your own plan: a trial at once, a paid plan at once with the unused part refunded. Needs a full-access API key or a signed-in session.
bearerheader
AuthorizationBearer <token>An API key, an OAuth access token, or a signed-in session token.
application/json- body
token*stringLength
1 <= length <= 200Household
application/json- response
role*stringValue in
"owner""member"owner*maxPeople*integerpeople*array<>invites*array<>storage*inviteBlocked*string|nullcurl -X POST 'https://fastwater.app/v1/household/join' \ -H 'Content-Type: application/json' \ -d '{ "token": "string"}'Example Response
{ "role": "owner", "owner": { "email": "string" }, "maxPeople": 0, "people": [ { "id": "string", "email": "string", "role": "owner", "you": true, "joinedAt": "2019-08-24T14:15:22Z", "storedBytes": 0, "storageLimitBytes": 0 } ], "invites": [ { "id": "string", "email": "string", "createdAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z" } ], "storage": { "usedBytes": 0, "quotaBytes": 0 }, "inviteBlocked": "string"}