InvitationsController_invite
POST
/api/identity/invitations
const url = 'https://api.streams-ai.com/api/identity/invitations';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","role":"admin"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.streams-ai.com/api/identity/invitations \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "role": "admin" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string format: email
role
string

