POST
/
v2
/
enterprise
/
members
/
invite
curl -X POST "https://api.devin.ai/v2/enterprise/members/invite" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": [
      "john.doe@company.com",
      "jane.smith@company.com",
      "bob.wilson@company.com"
    ]
  }'
{
  "status": "success",
  "invited_count": 3
}
Invite multiple users to your enterprise by providing their email addresses. This endpoint supports bulk invitations with up to 100 email addresses per request.

Request Body

emails
array
required
Array of email addresses to invite to the enterprise. Maximum 100 emails per request.

Response

status
string
required
Status of the invitation request (typically “success”)
invited_count
integer
required
Number of users successfully invited

Error Responses

400
error
Bad Request - Invalid email format, too many emails, or empty email list
403
error
Forbidden - User not associated with an enterprise
422
error
Validation Error - Request body validation failed
500
error
Internal Server Error - Enterprise account not found or inviter user not found
curl -X POST "https://api.devin.ai/v2/enterprise/members/invite" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emails": [
      "john.doe@company.com",
      "jane.smith@company.com",
      "bob.wilson@company.com"
    ]
  }'
{
  "status": "success",
  "invited_count": 3
}

Notes

  • Invited users will receive an email invitation to join the enterprise
  • Users who are already members of the enterprise will be skipped
  • The invited_count reflects only newly invited users, not skipped existing members
  • Invitations expire after a certain period (contact support for details)
  • Only enterprise administrators can invite new members