cURL
curl --request POST \ --url https://api.getgranite.ai/api/organizations/{organization_id}/members/invite \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "name": "<string>", "role": "viewer" } '
{ "status": "<string>", "message": "<string>", "member_id": "<string>" }
Send an email invitation to a new member to join the organization
Request to invite a member to an organization
Email address of the person to invite
Optional name of the person being invited
Role to assign to the member (admin, editor, viewer)
Successful Response
Response from inviting a member
Invitation status
Status message
Unique member identifier