Invite_member
POST
Invite a user to the active Organization with invite permission.
bearerAuthheader
AuthorizationBearer <token>application/json- body
Invite a user with an Organization role and optional invitation lifetime.
email*stringexpiresInDays?|nullrole*organization.OrganizationRoleOrganization membership role.
Value in
"owner""member""guest"Success
application/json- response
The provider invitation identity.
invitationId*stringcurl -X POST 'https://api.spiraldb.dev/api/organizations/invitations' \ -H 'Content-Type: application/json' \ -d '{ "email": "string", "role": "owner"}'{ "invitationId": "string"}