Create a new invite for the workspace
admin
member
Show Invite properties
curl -X POST 'https://api.caret.so/v1/workspace/invites' \ -H 'Authorization: Bearer {api_key}' \ -H 'Content-Type: application/json' \ -d '{ "email": "jane@acme.com", "role": "member", "isUrlInvite": false, "groupIds": ["01887270-56cd-7da0-c95d-9a9e9ebc6f90"] }'
{ "invite": { "id": "01887270-45ab-7da0-c95d-9a9e9ebc5e89", "email": "jane@acme.com", "code": "ab3d5f8g", "role": "member", "expiresAt": "2023-09-15T00:00:00Z", "createdAt": "2023-08-15T08:30:00Z", "isUrlInvite": false } }