Team
Invite someone to the workspace
No API key can call this route. It needs a signed-in dashboard user with the right role; a key answers 403. About scopes
POST
/
api/v1/team/invitesAuthorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalemailRequiredstring
Format:
"email"roleRequiredstring
Value in:
"owner" | "admin" | "developer" | "finance" | "viewer"The invite, its one-time token and the accept link.