Invite a person by email
Invites an email address with a role. The invite lasts 7 days and is used once,
when the person accepts it with POST /v1/invites/{invite_id}/accept from a
session with that address, verified. No request joins an account by itself. A
person who already belongs to an account cannot accept a second one. Meadow
sends no email itself: Supabase sends the sign-in link when the person asks for
one, and the sign-up check lets an invited address in.
One open invite per address: a second is 409 invite_exists. An address
already in the account is 409 already_member. An account may send 20 invites
an hour (429 invite_rate_limited).
People: owner.
Authentication
A Meadow API key, sent as Authorization: Bearer mdw_.... The header
x-api-key: mdw_... is accepted in its place.
Request
A person’s role in the account. owner: everything, and people. admin:
everything except people. member: keys without the admin scope that they
minted, stopping sandboxes, deleting images, and every read. viewer (shown as
Read-only): every read. The dashboard labels viewer “Read-only”.
Response headers
Meadow’s id for this request, req_ and 24 hex characters. Every response
carries it, including errors, streams and unknown routes. Every error in the
Error schema repeats it as request_id. Quote it when you report a problem.
Response
The invite id (inv_...), 130 random bits.
A person’s role in the account. owner: everything, and people. admin:
everything except people. member: keys without the admin scope that they
minted, stopping sandboxes, deleting images, and every read. viewer (shown as
Read-only): every read. The dashboard labels viewer “Read-only”.
7 days after created_at.