Generate platform invite
Endpoint
Section titled “Endpoint”POST /v1/invites/platform
Authentication
Section titled “Authentication”No authentication required.
Request Body
Section titled “Request Body”{}cURL Example
Section titled “cURL Example”curl -X POST "https://api.sapiom.ai/v1/invites/platform" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"Response
Section titled “Response”{ "inviteToken": "abc123def456ghi789jkl012mno345pqr678stu901", "expiresAt": "2025-11-12T23:59:59.000Z"}Error Responses
Section titled “Error Responses”| Status | Code | Description |
|---|---|---|
| 400 | - | Bad request - user already exists or has pending invite |
| 401 | - | Unauthorized - missing or invalid admin API key |
See Error Codes for full reference.