GroundsocialDocs

API · Dashboard team

POST /accounts/{id}/members

Add someone by email. They sign in with that address to use the account.

RequestPOST /v1/accounts/{id}/members
Operation idaccounts.members.add
CostFree
AuthDashboard session: Authorization: Bearer <session_token>. API keys are refused.

Path parameters

NameTypeRequiredDescription
idstringyesExample: acct_01J….

Request body

FieldTypeRequiredDescription
emailstringyes
role"owner" | "admin" | "member"no

Responses

StatusMeaningSchema
201Added.AccountMember
400Invalid input.Error
401Not signed in, or an API key was sent.Error
403Members can look; owners and admins make changes.Error
404No such account among yours.Error
409Already a member, or the account is full.Error

AccountMember fields

FieldTypeDescription
user_idstring
emailstring
namestring | null
role"owner" | "admin" | "member"
joined_atstring

Errors use one shape everywhere; see Errors for every code and what to do.