Skip to main content
POST
/
api
/
admin
/
account
Create a new account
curl --request POST \
  --url https://pria.praxislxp.com/api/admin/account \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "name": "<string>",
  "managerEmail": "jsmith@example.com",
  "status": "active",
  "credits": 123
}
'
{
  "success": true,
  "data": {
    "_id": "<string>",
    "name": "<string>",
    "managerEmail": "jsmith@example.com",
    "credits": 123,
    "domainUrls": [
      "<string>"
    ],
    "qualification": "<string>",
    "created": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json
name
string
required

Account name (lowercase, unique).

managerEmail
string<email>
required

Email of the primary account manager (required).

status
enum<string>
default:active
Available options:
active,
inactive,
deleted
credits
integer

Initial credits

Response

Account created successfully

success
boolean
data
object