cURL
curl --request POST \ --url https://api.rolla.xyz/api/v1/external/teams/invite \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "email": "jane@example.com", "fullname": "Jane Doe", "roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "success": true, "message": "Invitation sent successfully", "data": { "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "jsmith@example.com", "fullname": "<string>", "isNewUser": true } }
Sends an invitation to a new team member via email.
curl -X POST "https://api.rolla.xyz/api/v1/external/teams/invite" \ -H "X-API-Key: your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "email": "jane@example.com", "fullname": "Jane Doe", "roleId": "e5f6a7b8-c9d0-1234-efgh-567890123456" }'
{ "success": true, "message": "Invitation sent successfully", "data": { "userId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "email": "jane@example.com", "fullname": "Jane Doe", "isNewUser": true } }
roleId
/teams/roles
Your Rolla API key
Email address of the person to invite
"jane@example.com"
Full name of the person to invite
1 - 100
"Jane Doe"
Role to assign (from /teams/roles)
Invitation sent successfully
true
"Invitation sent successfully"
Show child attributes