Pria UI now available in Dark mode !
cURL
curl --request POST \ --url http://localhost:3000/api/admin/institution \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "name": "<string>", "account": "<string>", "status": "active", "credits": 123, "publicId": "<string>", "ainame": "Pria", "contactEmail": "[email protected]", "poolCredits": true } '
{ "success": true, "id": "<string>", "message": "<string>" }
Creates a new institution in the system
JWT token passed in x-access-token header
Institution name/domain
Account ID reference
active
inactive
Initial credits
Public UUID identifier
AI assistant name
Contact email
Pool credits between users
Institution created successfully
New institution ID
Was this page helpful?