Skip to main content

Invite by email

1 min read
post/organizations/{organizationId}/invitations
Request example
Response
post/organizations/{organizationId}/invitations

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

organizationIdstringrequired#

Body

application/json
invitedEmailstringrequired#
invitedUserIdstring#
roleenum<string>required#
Options:adminmember

Responses

application/json
Created.
dataobjectrequired#
Show child attributes
idstringrequired#