cURL
curl --request POST \ --url https://api.lithoblocks.com/organizations/{id}/invite \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "role": "member", "message": "<string>" } '
{ "success": true, "message": "<string>", "invitationId": "<string>" }
Send an invitation to a user to join the organization (Admin+ role required)
LithoBlocks API key obtained from your organization dashboard
User invitation data
admin
member
viewer
Invitation sent