# Create an invitation (validates role hierarchy) (/docs/api-reference/invites/InvitesController_create)

`POST /api/invites`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

## Responses

### 201: Invite created with link

### 403: Not authorized to invite this role